harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Pervov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2700) [drlvm][unicode] The vm should correctly output the unicode symbols to console
Date Tue, 05 Jun 2007 11:34:28 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-2700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12501529
] 

Pavel Pervov commented on HARMONY-2700:
---------------------------------------

I've looked through the code and I see only one solution here: someone must detect system
locale and set it up into "file.encoding" system property.
I believe this "someone" should be class library.

> [drlvm][unicode] The vm should correctly output the unicode symbols to console
> ------------------------------------------------------------------------------
>
>                 Key: HARMONY-2700
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2700
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Vladimir Ivanov
>            Priority: Minor
>
> The vm should correctly output the unicode symbols to console. We have 2 VM that provide
differen output for the same code.
> From my point of view, the IBMVM  output is correct.
> ============ test.java =====================
> import java.util.*;
> public class test {
>         public static void main(String[] args) {
>                 Currency cur = Currency.getInstance("RUR");
>                 System.out.println("\u0440. == " + cur.getSymbol(new Locale("ru", "RU")));
     
>                 System.out.println("\u0440\u0443\u0431\u043b\u044A.");  
>         }
> }
> ========================================
> Output:
> C:\tmp\tmp17>C:\harmony.top\classlib\trunk\deploy\jdk\jre\bin\java.exe -cp . test
> ?. == ???
> ?????.
> C:\tmp\tmp17>C:\harmony.top\drlvm\trunk\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\java
-Dvm.assert_dialog=false -cp . -showversion test
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or
its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r486963, (Dec 14 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> ?. == ???
> ?????.
> C:\tmp\tmp17>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message