Forum > General

Unicode resourcestring

<< < (4/4)

winni:

--- Quote from: KodeZwerg on February 03, 2023, 11:23:10 pm ---Please share me your wisdom.

--- End quote ---


UTF8 <> UTF16

KodeZwerg:

--- Quote from: winni on February 03, 2023, 11:40:17 pm ---
--- Quote from: KodeZwerg on February 03, 2023, 11:23:10 pm ---
--- Quote from: winni on February 03, 2023, 10:54:00 pm ---@KodeZwerg
It was just an example against your wrong statement
"Unicode is Unicode, nothing more nothing less."
--- End quote ---
What else is Unicode when not Unicode?

--- End quote ---
UTF8 <> UTF16
--- End quote ---
Since you do not use words to answer a normal question but character encoding standards, I have absolute no Idea why you quoted me at all.
That answer makes no sense and my statement is still the same.
Unicode is Unicode, nothing more nothing less - period.
( but I am still open to be convinced by something different  :-* )

Excuse me moderators for this kinda offtopic argue.

PascalDragon:

--- Quote from: jcmontherock on February 03, 2023, 05:36:02 pm ---Unicode string means generally UTF-16. UTF-16 could be Le or Be.
--- End quote ---

And FPC always uses the endianess of the target, so it makes no sense to talk about UTF-16BE vs. UTF-16LE in the general sense in the context of FPC.


--- Quote from: jcmontherock on February 03, 2023, 05:36:02 pm ---Some people speaks, wrong, Unicode string for UTF-8. Please, use the exact denomination...  ;D ;D

--- End quote ---

We are on a FPC/Lazarus forum here, so I can assume that the users know when I write “UnicodeString” that I mean UnicodeString which in turn means UTF-16 (no matter if BE or LE) and not “Unicode string” which might mean any string with a Unicode encoding.


--- Quote from: Thaddy on February 03, 2023, 05:45:49 pm ---
--- 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.

--- End quote ---

Qt uses UTF-16, JavaScript uses UTF-16, Java uses UTF-16. And on non-Windows wchar_t is even four Byte and thus uses UTF-32.

Navigation

[0] Message Index

[*] Previous page

Go to full version