LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Can putent() support other charset other than English? (https://www.linuxquestions.org/questions/programming-9/can-putent-support-other-charset-other-than-english-198487/)

sakulagi 06-27-2004 10:21 PM

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.

ugenn 06-28-2004 02:39 PM

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.


All times are GMT -5. The time now is 06:02 AM.