Search the Community
Showing results for tags 'utf8'.
-
Hi friends, I'm using json.au3 to register some data in my server, everything work fine except the data that i send in utf8 format like names saved as ????? . i think something mess with inetget cause this problem can you help me please? $sAdditionalData = "secret_key=" & $secret_key_verify & "&slm_action=slm_check&license_key=" & $license_key&"&first_name="&$first_name $data = _INetGetSource($sDomain&'/?'&$sAdditionalData) $object = json_decode($data) Json_Dump($data) $response = json_get($ob
-
Good morning, I am trying to read a Unicode utf8 string from a perl subprocess via StdoutRead. I use an AUtoIt GUI and display result in an 'Edit' control (see my code below) using 'Courier New', a font that can handle Unicode characters. I was expecting a result looking like (CMD console): ++$ chcp 65001>NUL: & perl -Mutf8 -CS -e "use 5.018; binmode STDOUT,q(:utf8); say qq(\x{03A9})" & chcp 850>NUL: Ω Instead I get someting like this (see downward the screen copy): ++$ chcp 1250>NUL: & perl -Mutf8 -CS -e "use 5.018;
- 3 replies
-
- stdoutread
- unicode
-
(and 1 more)
Tagged with:
-
Autoit v3.3.14.1 converts hexstring not only to string but also to UTF8. Conversion to UTF8 is undocumented in helpfile. This change is in some cases very essential! This should be documented, or much better add an aditional parameter (flag of BinaryToString) to the function. Up to Autoit v3.3.12.1 worked fine, since v3,3,14.1 give wrong results. Example: string: "0xFFD8FFE000104A464946" ......JFIF v3.3.12.1: FFD8FFE000104A464946 correct v3.3.14.1: EFBFBDEF0104A464946 confusing ! or with an longer string long string: 3F3F3F3F0010.....
-
a recent post mentioned UTF-8 and encoded strings. I have the need to go this way, deliberately. This is to encode Hebrew into a barcode, where the application only supports plain ANSI. Barcode will render correctly with escaped hex values. Example: $string = "אין כמו הבית" ; "no place like home" in Hebrew. ConsoleWrite( StringToBinary($string,4) & @CRLF ) ; returns ; 0xD790D799D79F20D79BD79ED79520D794D791D799D7AA This is close, but I need this in individually encoded chars. Like this: \xD7\x90\xD7\x99\xD7\x9F\x20\xD7\x9B\xD7\x9E\xD7\x95\x20\xD7\x94\xD7\x91\xD7\x99\xD7\xA