Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Testfile CJK - result is empty ?

$
0
0

I am doing some test with iconv, to see what characters can be converted. To do this, I am creating a list of chinese characters, according to the list here.

 

For blocks 1 and 2 this works as expected.

 

But for some reason, blocks 3, 4 and 5 does not return a byte for the chinese character.

 

Am I missing something ?

 

My code :

$of = FileOpen("utf_block4.txt", 2+128) ; 32 = UTF16LE, 128 = UTF8 BOM $myvar = "" for $i = 0x2A700 to 0x2B734         $myvar &= hex($i, 6) & " : >" & ChrW($i) & "<" & @CRLF Next FileWrite($of, $myvar) FileWriteLine($of, "") FileClose($of)

Edit: the forum won't let me post what I should get for the code.

 

Working version of block 1, first 5 lines - to see example output - is:

  1. 4E00 : >一<
  2. 4E01 : >丁<
  3. 4E02 : >丂<
  4. 4E03 : >七<
  5. 4E04 : >丄<

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>