D
devdris
Please, help me to print text with arabic font using lccwin32 C
compiler.
Thanks.
Driss
compiler.
Thanks.
Driss
Not really enough information here, but if you need this sort ofdevdris said:Please, help me to print text with arabic font using lccwin32 C
compiler.
Clever said:Not really enough information here, but if you need this sort of
processing you need to think about wide or multi-byte characters. I
assume that this compiler toolchain supports and documents the
implementation wide/mb chars.
I was suggesting UTF-8 was the way to go. This means wide chars, correct?Simon said:Not necessarily. Legacy character sets like Windows 1256, ISO 8859-6,
IBM-864 and MacArabic are all single byte character sets. I would
recommend going with UTF-8 in most cases though, which is a multibyte
character set. Or you could use UTF-16 or UTF-32 which work with wide
characters.
Clever said:I was suggesting UTF-8 was the way to go. This means wide chars, correct?
> A UTF-8 data stream may or may not have multi-byte characters. The size
> of each character can vary. However, ASCII characters from 0 to 127
> always occupy a single byte. Any byte in a UTF-8 data stream that has a
> value from 0 to 127 must be a single character, not part of a multi-byte
> character. Thus the null character ('\0') can still be used in the
> normal way to terminate a string. The strlen() function is useful for
> determining the number of bytes that a UTF-8 string takes, but not the
> number of characters.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.