1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 08:58:28 +02:00
Files
archived-php-src/ext
Alex Dowad 4d65c2a992 ISO-2022-JP-2004 conversion: represent backslash and tilde as ASCII
This issue dates back to some commits I merged recently, which made encodings
like Shift-JIS-2004 use appropriate JIS X 0208 characters to represent
backslashes and tildes, rather than single-byte characters which are used in
those encodings with a different meaning (for example, in these encodings,
0x5C is used for a halfwidth Yen sign, rather than a backslash).

There was an unintended side effect: ISO-2022-JP-2004 was also made to
represent backslashes and tildes using JIS X 0208 characters. However,
ISO-2022-JP explicitly includes ASCII as one of its selectable character sets,
and ISO-2022-JP-2004 is just an extension of ISO-2022-JP. So when converting
text to ISO-2022-JP-2004, we can convert Unicode backslashes and tildes to ASCII
rather than using the corresponding JIS X 0208 characters.
2021-01-14 22:26:24 +02:00
..
2021-01-12 09:50:27 +01:00
2020-10-07 14:58:43 +02:00
2021-01-04 16:59:57 +01:00
2020-12-28 14:46:00 +01:00
2020-12-02 10:55:45 +01:00
2020-10-09 15:25:23 +02:00
2021-01-14 08:16:50 +03:00
2021-01-04 14:33:02 +01:00
2020-10-30 17:29:33 +01:00
2021-01-13 19:39:41 -05:00
2021-01-04 10:45:49 +01:00
2020-10-22 14:56:00 +02:00
2021-01-01 17:41:48 +01:00
2020-09-30 21:07:25 +02:00
2020-09-18 14:28:32 +02:00
2020-09-18 14:28:32 +02:00
2020-10-13 10:41:43 +02:00
2021-01-14 10:53:56 +01:00
2020-12-02 10:19:32 +01:00
2020-10-08 10:28:50 +02:00
2020-12-08 12:24:49 +01:00