Liste des Groupes | Revenir à co vms |
On 2024-08-23 23:34:18 +0000, Arne Vajhøj said:As usual the C standard is very vague in its definitions.And support for the latter fall in 3 groups:Quoth the standard: "The width of wchar_t is compiler-specific and can be as small as 8 bits. Consequently, programs that need to be portable across any C or C++ compiler should not use wchar_t for storing Unicode text."
* JVM languages (Java, Groovy etc.) and I believe Python - does support unicode and can read/write using any encoding including UTF-8
* C, C++, PHP - developer keeps track of what encoding a byte sequence is in but possible to explicit convert encodings
(C/C++ has wchar_t but it is neither much used nor UTF-8 friendly AFAIK)
Les messages affichés proviennent d'usenet.