rem: char *sample = NULL;
context: paintTextField(void *data, int section){	_Panel *panel = (_Panel*)data;	char *sample = NULL;	int encoding;	encoding = WMGetPopUpButtonSelectedItem(panel->langP);	WMSetTextFieldFont(panel->fontT, getFontForPreview(panel, section));	switch(encoding) {		case 0:  /* Current Font in theme */			WMSetTextFieldText(panel->fontT,					"ABCDEFGHIKLMNOPQRSTUVXYWZabcdefghiklmnopqrstuvxywz0123456789\x00e0\x00e6\x00e7\x00eb\x00ee\x00f0\x00f1\x00f3\x00f9\x00fd\x00c0\x00c6\x00c7\x00cb\x00ce\x00d0\x00d1\x00d3\x00d9\x00dd");			break;		case 1:  /* default */			WMSetTextFieldText(panel->fontT, getFontSampleString(panel));				//	"ABCDEFGHIKLMNOPQRSTUVXYWZabcdefghiklmnopqrstuvxywz0123456789\x00e0\x00e6\x00e7\x00eb\x00ee\x00f0\x00f1\x00f3\x00f9\x00fd\x00c0\x00c6\x00c7\x00cb\x00ce\x00d0\x00d1\x00d3\x00d9\x00dd");			break;		case 2:  /* latin1 iso8859-1 */			WMSetTextFieldText(panel->fontT, getFontSampleString(panel));				//  "ABCDEFGHIKLMNOPQRSTUVXYWZabcdefghiklmnopqrstuvxywz0123456789\x00e0\x00e6\x00e7\x00eb\x00ee\x00f0\x00f1\x00f3\x00f9\x00fd\x00c0\x00c6\x00c7\x00cb\x00ce\x00d0\x00d1\x00d3\x00d9\x00dd");			break;		case 3:  /* latin2 iso8859-2 */			WMSetTextFieldText(panel->fontT, getFontSampleString(panel));			//		"ABCDEFGHIKLMNOPQRSTUVXYWZabcdefghiklmnopqrstuvxywz0123456789\x00e0\x00e6\x00e7\x00eb\x00ee\x00f0\x00f1\x00f3\x00f9\x00fd\x00c0\x00c6\x00c7\x00cb\x00ce\x00d0\x00d1\x00d3\x00d9\x00dd");			break;		case 4:  /* Greek iso8859-7 */			WMSetTextFieldText(panel->fontT, getFontSampleString(panel));			//		"ABCDEFGHIKLMNOPQRSTUVXYWZabcdefghiklmnopqrstuvxywz0123456789\x00e0\x00e6\x00e7\x00eb\x00ee\x00f0\x00f1\x00f3\x00f9\x00fd\x00c0\x00c6\x00c7\x00cb\x00ce\x00d0\x00d1\x00d3\x00d9\x00dd");			break;/* luckily all these happen to have the MultiByte chars in the same places */		case 5:  /* Japanese jisx0208.1983 */			WMSetTextFieldText(panel->fontT, getFontSampleString(panel));			//		"Window Maker 桼ƥƥ");			break;		case 6:  /* Korean ksc5601.1987 */			WMSetTextFieldText(panel->fontT, getFontSampleString(panel));			//		" Ŀ ");			break;		case 7:  /* korean2 daewoo */			WMSetTextFieldText(panel->fontT, getFontSampleString(panel));			//		" Ŀ ");			break;		case 8:  /* Russian koi8-r */			WMSetTextFieldText(panel->fontT, getFontSampleString(panel));			//		" Window Maker");			break;		case 9:  /* Ukranian koi8-u */			WMSetTextFieldText(panel->fontT, getFontSampleString(panel));			//		"ABCDEFGHIKLMNOPQRSTUVXYWZabcdefghiklmnopqrstuvxywz0123456789\x00e0\x00e6\x00e7\x00eb\x00ee\x00f0\x00f1\x00f3\x00f9\x00fd\x00c0\x00c6\x00c7\x00cb\x00ce\x00d0\x00d1\x00d3\x00d9\x00dd");			break;	}}