User forums > Using Code::Blocks
When will support UTF-8 editor?
takeshimiya:
--- Quote from: thomas on December 12, 2005, 02:53:08 pm ---Also, at least one third party library used in Code::Blocks does not support wide character strings (even though it apparently still works, somehow).
ANSI, on the other hand, works 100% certain and is officially supported.
--- End quote ---
What are the specific libraries that doesn't support widechars and what can we do to make them support it, appart from submitting a feature request?
thomas:
This is one I know about, and the most important at the same time:
--- Quote from: http://www.grinninglizard.com/tinyxmldocs/index.html ---TinyXml supports UTF-8 allowing to manipulate XML files in any language.
[...]
TinyXml does not use or directly support wchar, TCHAR, or Microsofts _UNICODE at this time.
--- End quote ---
Apparently, it still works ... somehow. Although I do not understand how it works, it actually seems to do o.k. in Unicode builds. But it still does not feel good.
thomas:
And here might just be the first case where it doesn't....
http://forums.codeblocks.org/index.php?topic=1618.0
280Z28:
I tried but didn't have time to fight with it. It's running stable in ANSI so I left it there. :?
Once I take care of my "level 1 problems (most important bugs to fix IMO)," I might work on this again.
kagerato:
--- Quote from: http://www.grinninglizard.com/tinyxmldocs/index.html ---TinyXml supports UTF-8 allowing to manipulate XML files in any language.
[...]
TinyXml does not use or directly support wchar, TCHAR, or Microsofts _UNICODE at this time.
--- End quote ---
This makes little sense to me. UTF-8 is a particular representation of Unicode text requiring at least 8 bits per character, widely used because it's 1:1 with ASCII. Supporting UTF-8 should be enough for unicode operability in any language.
WCHAR and TCHAR are just Windows-specific typedef's, as far as I know. (Reference: MSDN)
_UNICODE is a preprocessor definition used by Microsoft's compiler. (Reference: Microsoft)
What, then, do WCHAR, TCHAR, and _UNICODE have to do with proper/complete implementation of unicode support?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version