Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 12-14-2003, 08:44 AM   #1
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
C Multibyte character encoding

1. Are there any known multibyte encodings (any encoding, not just those used in Linux/Unix) which use characters in the portable C character set as
1) the first byte of a shift byte sequence (for encodings with shift states) OR
2) the first byte of a multibyte char (for encodings without shift states)?

2. ISO 9899:1999 (Standard C specs) says,
"While in the initial shift state, all single-byte characters retain their usual interpretation and do not alter the shiftstate."

Does this mean that the portable character set (single byte characters) must have the same representation (bit pattern) while in the initial shift state of a arbitry locale as they did while in the default "C" locale?

3. Are there restrictions to the kind of encodings that can be used by locales in Linux? eg Does a multibyte encoding which has ascii '/' as part of a multibyte sequence allowed to be used in Linux locales?

ps: to moderators/ site owner -can we have another forum dedicated to Linux i18n?

Last edited by ugenn; 12-14-2003 at 09:00 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Character encoding problems eduac Linux - Software 5 08-02-2005 07:48 PM
MySQL and PHP: Multibyte Character Support Magsol Programming 4 04-26-2005 11:24 PM
character encoding - mandrake 9.2 Osten Mandriva 1 11-21-2003 12:09 PM
Unsupported Character Encoding yenonn Linux - Software 3 04-28-2003 06:25 AM
Invalid or incomplete multibyte or wide character chanys Linux - General 1 03-13-2003 11:09 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:59 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration