Details
-
Bug
-
Resolution: Fixed
-
P3
-
None
-
None
Description
All JDK's EBCDIC charsets, except Cp1140-1149, map the line-feed
\u000A character to EBCDIC 0x15. The related mappings are as
0x25 (LF) => U+000A
0x15(NL) <=> U+000A
0x15(NL) <= U+0085
Cp1140-1149 however maps the U+000A.
As suggested inJDK-7016785, there are/were two standards to handle the newline in z/OS, these being the LF (0x25) CDRA or NL (0x15). From JDK1.4, IBM idk has moved on to map \u000a to 0x15 as the default, in which most our ebcdic charsets are compatible with.
This RFE is to propose to update the Cp1140-Cp1149 to also map \u000A to ebcdic 0x15 to be consistent with other ebcdic charsets.
\u000A character to EBCDIC 0x15. The related mappings are as
0x25 (LF) => U+000A
0x15(NL) <=> U+000A
0x15(NL) <= U+0085
Cp1140-1149 however maps the U+000A.
As suggested in
This RFE is to propose to update the Cp1140-Cp1149 to also map \u000A to ebcdic 0x15 to be consistent with other ebcdic charsets.
Attachments
Issue Links
- relates to
-
JDK-7016785 Line-Feed swapping functionality for EBCDIC converters
-
- Resolved
-
-
JDK-8186801 Add regression test to test mapping based charsets (generated at build time)
-
- Resolved
-
-
JDK-8177105 String/byte[] conversion with encoding CP1147
-
- Resolved
-