LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 12-14-2003, 08:44 AM   #1
ugenn
Member
 
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.
 
  


Reply


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


All times are GMT -5. The time now is 01:50 PM.

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