aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/lang/natSystem.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/lang/natSystem.cc')
-rw-r--r--libjava/java/lang/natSystem.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/lang/natSystem.cc b/libjava/java/lang/natSystem.cc
index ffb26a3..a9dca32 100644
--- a/libjava/java/lang/natSystem.cc
+++ b/libjava/java/lang/natSystem.cc
@@ -153,5 +153,5 @@ java::lang::System::getenv0 (jstring name)
const char *value = ::getenv (buf);
if (value == NULL)
return NULL;
- return JvNewStringLatin1 (value);
+ return JvNewStringUTF (value);
}