Project

General

Profile

$utfdecode » History » Revision 4

Revision 3 (Per Amundsen, 02/23/2023 07:54 PM) → Revision 4/5 (Per Amundsen, 05/01/2026 04:23 AM)

_Added in 1.9.0_ 

 *$utfdecode(text, gdi)* C)* 

 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 C |    the gdi charset number representing a codepage, possible value are: *TODO* | 

 <pre> 
     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 
 </pre>