Forum > General

Unicode resourcestring

<< < (2/4) > >>

jcmontherock:
Unicode string means generally UTF-16. UTF-16 could be Le or Be.
Some people speaks, wrong, Unicode string for UTF-8. Please, use the exact denomination...  ;D ;D

Thaddy:

--- Quote from: jcmontherock on February 03, 2023, 05:36:02 pm ---Unicode string means generally UTF-16. UTF-16 could be Le or Be.
Some people speaks, wrong, Unicode string for UTF-8. Please, use the exact denomination...  ;D ;D

--- End quote ---
It is the other way around. MS uses unicode 16 (based on UCS) and the rest of the world uses UTF8.
FPC/Lazarus is not MS centric. Personal opinion is that I really dislike UTF8, but I have to use it, because I do server platforms and most of those are unix derived..

KodeZwerg:

--- Quote from: jcmontherock on February 03, 2023, 05:36:02 pm ---Unicode string means generally UTF-16. UTF-16 could be Le or Be.
Some people speaks, wrong, Unicode string for UTF-8. Please, use the exact denomination...  ;D ;D
--- End quote ---
:o

--- Quote from: Thaddy on February 03, 2023, 05:45:49 pm ---It is the other way around. MS uses unicode 16 (based on UCS) and the rest of the world uses UTF8.
FPC/Lazarus is not MS centric. Personal opinion is that I really dislike UTF8, but I have to use it, because I do server platforms and most of those are unix derived..
--- End quote ---
:o :o

...you both crush my world with your sentences...
UTF8 / UTF16 is both just a different bitness as an encoding format used by Unicode.
Unicode is Unicode, nothing more nothing less.

winni:

--- Quote from: KodeZwerg on February 03, 2023, 06:33:23 pm ---
...you both crush my world with your sentences...
UTF8 / UTF16 is both just a different bitness as an encoding format used by Unicode.
Unicode is Unicode, nothing more nothing less.

--- End quote ---

Hi!

Ans why are Windows strings when I read them with Linux are wrong encoded?

Winni

KodeZwerg:

--- Quote from: winni on February 03, 2023, 06:40:45 pm ---Windows strings
--- End quote ---
As soon as I know the definition of "Windows strings" and how you decode I can answer that.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version