This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: getenv()
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.