RFR: 8301991: Convert l10n properties resource bundles to UTF-8 native [v6]
Magnus Ihse Bursie
ihse at openjdk.org
Wed Apr 9 15:09:58 UTC 2025
On Thu, 11 May 2023 20:21:57 GMT, Justin Lu <jlu at openjdk.org> wrote:
>> This PR converts Unicode sequences to UTF-8 native in .properties file. (Excluding the Unicode space and tab sequence). The conversion was done using native2ascii.
>>
>> In addition, the build logic is adjusted to support reading in the .properties files as UTF-8 during the conversion from .properties file to .java ListResourceBundle file.
>
> Justin Lu has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 16 commits:
>
> - Convert the merged master changes to UTF-8
> - Merge master and fix conflicts
> - Close streams when finished loading into props
> - Adjust CF test to read in with UTF-8 to fix failing test
> - Reconvert CS.properties to UTF-8
> - Revert all changes to CurrencySymbols.properties
> - Bug6204853 should not be converted
> - Copyright year for CompileProperties
> - Redo translation for CS.properties
> - Spot convert CurrencySymbols.properties
> - ... and 6 more: https://git.openjdk.org/jdk/compare/4386d42d...f15b373a
src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/Encodings.properties line 22:
> 20: # Peter Smolik
> 21: Cp1250 WINDOWS-1250 0x00FF
> 22: # Patch attributed to havardw at underdusken.no (H�vard Wigtil)
This does not seem to have been a correct conversion.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/12726#discussion_r2035582242
More information about the net-dev
mailing list