Review your favorite Linux distribution.
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 06-27-2004, 10:21 PM   #1
LQ Newbie
Registered: May 2003
Location: China
Posts: 5

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

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
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.


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
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 > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:25 PM.

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