[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Locale-related questions



Hi,

Morten W. Petersen :
> need to hack a bit on terminal code

This is not only about terminals but also about any other
program or module which shall process your UTF-32 text.
You would have to set up a complete UTF-32 capable system
while everything around it expects UTF-8.

For example, in C language the byte value 0 indicates the
end of a string. UTF-32 characters out of the ASCII range
contain 75 percent of 0-bytes.
If your terminal's code is in C or uses C oriented libraries
for processing text, then you have to check and modify all
this stuff.

Compare this with the effort needed to create an interface to
the UTF-8 world by which your UTF-32 programs can communicate
with normal programs.


Have a nice day :)

Thomas


Reply to: