classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getenv()


From: Andrew Haley
Subject: Re: getenv()
Date: Mon, 14 Jun 2004 20:18:47 +0100

Bryce McKinlay writes:
 > Andrew Haley wrote:
 > 
 > >+   return JvNewStringLatin1 (value);
 > >+ }
 > >+ 
 > >  
 > >
 > Shouldn't this use JvNewStringUTF? We assume Utf-8 in most places for 
 > POSIX, and I could imagine problems if someone read a path variable 
 > containing non-Latin1 characters.

Good point!  I have no idea how or if people define environment
variables in extended character sets.  I should change it.

Thanks,
Andrew.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]