LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 06-27-2004, 10:21 PM   #1
sakulagi
LQ Newbie
 
Registered: May 2003
Location: China
Posts: 5

Rep: Reputation: 0
Can putent() support other charset other than English?


Hi.
Can I use putenv() to set a environment variable whose name and value contains other characters than English? e.g. Russian characters, Chinese characters, etc.
 
Old 06-28-2004, 02:39 PM   #2
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
Yes you can. But only with multibyte strings and not wide strings. Also, any other processes that inherit these variables must be multibyte aware if they're going to process those strings.
 
  


Reply



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
Non-English file names and east asian language support... SGFHK321 Linux - General 2 10-13-2004 03:25 AM
English Openoffice with greek support alepou192 Linux - Software 2 09-03-2004 06:23 AM
Does Conectiva have good english support? vous Conectiva 4 01-31-2004 11:15 AM
Does Linux standard terminal support other charsets other than English? George2 Linux - Software 8 12-25-2003 06:27 AM
HOw to add a special charset support to Red Hat Linux? George2 Linux - Software 6 12-13-2003 06:19 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:03 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
Open Source Consulting | Domain Registration