This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: getenv()


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.

Regards

Bryce


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]