Opened 5 years ago

#952 new defect

Uninstaller in non-Latin 1 language script looks garbled

Reported by: ak19 Owned by: nobody
Priority: moderate Milestone:
Component: Installation Severity: major
Keywords: Cc:

Description

We think we may have tried uninstalling in Simplified Chinese, though there's no way to select the language for the uninstaller, so maybe it's using locale or something?

Either way, on Martin's personal machine, we saw garbled characters instead of either Latin-1 for English or proper Chinese characters. We suspect that it may have been trying to load Chinese characters (because of locale or something) and the decoding of the props file wasn't quite right.

The uninstaller java class uses ResourceBundle to load the language props files. ResourceBundle defaults to using Latin-1 for reading props files, see https://stackoverflow.com/questions/4659929/how-to-use-utf-8-in-resource-properties-with-resourcebundle

The above page also suggests possible solutions. For more information, also see http://www.avajava.com/tutorials/lessons/how-do-i-use-locales-and-resource-bundles-to-internationalize-my-application.html

Change History (0)

Note: See TracTickets for help on using tickets.