* [musl] Shift JIS vs CP932
@ 2024-08-26 22:30 Maxim Kouznetsov
2024-08-28 21:05 ` Rich Felker
0 siblings, 1 reply; 2+ messages in thread
From: Maxim Kouznetsov @ 2024-08-26 22:30 UTC (permalink / raw)
To: musl
[-- Attachment #1: Type: text/plain, Size: 643 bytes --]
Hello,
Looks like on 2024-02-29 CP932 was set as an alias of Shift_JIS, but there are a number of character differences, see https://dev.mysql.com/doc/refman/8.4/en/charset-cp932.html for example. Those codepages are very similar, but not actually the same.
Maxim
The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.
[-- Attachment #2: Type: text/html, Size: 2329 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [musl] Shift JIS vs CP932
2024-08-26 22:30 [musl] Shift JIS vs CP932 Maxim Kouznetsov
@ 2024-08-28 21:05 ` Rich Felker
0 siblings, 0 replies; 2+ messages in thread
From: Rich Felker @ 2024-08-28 21:05 UTC (permalink / raw)
To: Maxim Kouznetsov; +Cc: musl
On Mon, Aug 26, 2024 at 10:30:17PM +0000, Maxim Kouznetsov wrote:
> Hello,
>
> Looks like on 2024-02-29 CP932 was set as an alias of Shift_JIS, but
> there are a number of character differences, see
> https://dev.mysql.com/doc/refman/8.4/en/charset-cp932.html for
> example. Those codepages are very similar, but not actually the
> same.
Yes, I realized this a while back and was trying to collect
information to figure out what we actually need to do to support cp932
properly. All the information on the differences is confusing and I'm
not sure yet whether the above is clarifying.
The big question is probably whether to make Shift_JIS be an alias for
cp932 (at least in the decoding direction) and always support the
extensions, or have the extensions only available when cp932 is
requested.
There's also a question of how to encode the information. If we extend
the jis0208 table with them, the other encodings of jis0208 need to
explicitly disallow the extensions, but it's probably more efficient
to pack them in there. OTOH if they conflict with actual later jis
versions we might want to support, having them in the jis0208 table
seems like a bad idea.
Rich
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-08-28 21:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-26 22:30 [musl] Shift JIS vs CP932 Maxim Kouznetsov
2024-08-28 21:05 ` Rich Felker
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).