Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support escape sequence "ESC ( J" for ISO-2022-JP #2

Open
smikitky opened this issue Jul 27, 2018 · 0 comments
Open

Support escape sequence "ESC ( J" for ISO-2022-JP #2

smikitky opened this issue Jul 27, 2018 · 0 comments

Comments

@smikitky
Copy link

ISO-2022-JP からの変換をしようとしているのですが、jconvがどうも ESC ( J つまり 01/11 02/08 04/10 つまり 0x1b 0x28 0x4a のエスケープシーケンスを全く認識していないように思われ、文字化けが生じています。

文字コードは専門ではないので間違っていたら申し訳ないのですが、ここの表3やここここにはこのシーケンスが定義されており、まあざっくり ESC ( B の「ASCIIに戻る」と同じように扱っても大きな問題はないような気がしています。

該当行は https://github.com/narirou/jconv/blob/master/jconv.js#L1067 など辺りになります。よろしくお願いします。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant