+ }
+ else if ( cs == wxT("UTF-7") )
+ {
+ encoding = wxFONTENCODING_UTF7;
+ }
+ else if ( cs == wxT("UTF-8") )
+ {
+ encoding = wxFONTENCODING_UTF8;
+ }
+ else if ( cs == wxT("GB2312") )
+ {
+ encoding = wxFONTENCODING_GB2312;
+ }
+ else if ( cs == wxT("BIG5") )
+ {
+ encoding = wxFONTENCODING_BIG5;
+ }
+ else if ( cs == wxT("SJIS") ||
+ cs == wxT("SHIFT_JIS") ||
+ cs == wxT("SHIFT-JIS") )
+ {
+ encoding = wxFONTENCODING_SHIFT_JIS;
+ }
+ else if ( cs == wxT("EUC-JP") ||
+ cs == wxT("EUC_JP") )
+ {
+ encoding = wxFONTENCODING_EUC_JP;
+ }
+ else if ( cs == wxT("KOI8-R") ||
+ cs == wxT("KOI8-U") ||
+ cs == wxT("KOI8-RU") )
+ {
+ // although koi8-ru is not strictly speaking the same as koi8-r,
+ // they are similar enough to make mapping it to koi8 better than
+ // not reckognizing it at all