_Added in 1.9.0_ *$utfdecode(text, gdi)* Decodes a "UTF-8":https://en.wikipedia.org/wiki/UTF-8 string and returns it in default windows encoding. *Parameters* table(ktable). |*Parameter*|*Description*| | text | The "UTF-8":https://en.wikipedia.org/wiki/UTF-8 text to decode. | | gdi | the gdi charset number representing a codepage. | table(ktable). |*Gdi Charset*|*Codepage*| | 000 | ANSI_CHARSET | | 001 | DEFAULT_CHARSET | | 002 | SYMBOL_CHARSET | | 077 | MAC_CHARSET | | 128 | SHIFTJIS_CHARSET | | 129 | HANGEUL_CHARSET | | 130 | JOHAB_CHARSET | | 134 | GB2312_CHARSET | | 136 | CHINESEBIG5_CHARSET | | 161 | GREEK_CHARSET | | 162 | TURKISH_CHARSET | | 163 | VIETNAMESE_CHARSET | | 177 | HEBREW_CHARSET | | 178 | ARABIC_CHARSET | | 186 | BALTIC_CHARSET | | 204 | RUSSIAN_CHARSET | | 222 | THAI_CHARSET | | 238 | EASTEUROPE_CHARSET | | 255 | OEM_CHARSET |