db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-4492) Localized help message from derbyrun.jar has wrong encoding
Date Thu, 24 Dec 2009 16:02:30 GMT

     [ https://issues.apache.org/jira/browse/DERBY-4492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rick Hillegas updated DERBY-4492:
---------------------------------

    Attachment: handback.zip

I am attaching handback.zip. These are the 10.5 message files in UTF-8, as I received them
from the translators. These are the steps of the process I followed:

1) First I converted our messages to UTF-8 because that is the format which the translators
required.

2) Then the translators made the necessary changes.

3) Then I converted the changed files back to the encoding which Derby uses.

At one point I considered changing the encoding on all of our message files to UTF-8. I don't
know why we are using our current encoding. I don't know what will break if we do this.

But if the files in handback.zip look good to you, it might be worthwhile checking them in
and then changing the encoding on the remaining message files to UTF-8.

On the other hand, this might not fix the problem if the errors were introduced in step (1)
rather than in step (3).

> Localized help message from derbyrun.jar has wrong encoding
> -----------------------------------------------------------
>
>                 Key: DERBY-4492
>                 URL: https://issues.apache.org/jira/browse/DERBY-4492
>             Project: Derby
>          Issue Type: Bug
>          Components: Localization, Tools
>    Affects Versions: 10.5.2.0, 10.5.3.0
>            Reporter: Knut Anders Hatlen
>         Attachments: handback.zip
>
>
> When I change the locale to one of the languages for which we have localized tools messages,
either by changing the system locale or by setting the derby.ui.locale property, the output
from derbyrun.jar is garbled:
> $ java -Dderby.ui.locale=zh_TW -jar derbyrun.jar
> 用法:
> java -jar derbyrun.jar ij [-p propertiesfile] [sql script]
> java -jar derbyrun.jar sysinfo [-cp ...] [-cp help] 
> java -jar derbyrun.jar dblook [args] (或是不加引數以查看用法)
> java -jar derbyrun.jar server [args] (或是不加引數以查看用法)
> $ java -Dderby.ui.locale=de_DE -jar derbyrun.jar
> Syntax:
> java -jar derbyrun.jar ij [-p Merkmaldatei] [sql Script]
> java -jar derbyrun.jar sysinfo [-cp ...] [-cp help] 
> java -jar derbyrun.jar dblook [Argumente] (oder ohne Argumente für Syntaxinformationen)
> java -jar derbyrun.jar server [Argumente] (oder ohne Argumente für Syntaxinformationen)
> Only the help message from derbyrun.jar is garbled. The other tools appear to produce
fine output, even when invoked via derbyrun.jar:
> $ java -Dderby.ui.locale=zh_TW -jar derbyrun.jar sysinfo
> ------------------ Java 資訊 ------------------
> Java 版本:       1.6.0_17
> Java 供應商:     Sun Microsystems Inc.
> Java 首頁:       /usr/jdk/instances/jdk1.6.0/jre
> Java 類別路徑:   derbyrun.jar
> OS 名稱:         SunOS
> .
> .
> .

-- 
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