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

Not autodetected sjis encoding #37

Open
nnseva opened this issue Jul 16, 2020 · 0 comments
Open

Not autodetected sjis encoding #37

nnseva opened this issue Jul 16, 2020 · 0 comments

Comments

@nnseva
Copy link

nnseva commented Jul 16, 2020

The following file (applied as base64-encoded)

R0VPR0NTWyJHQ1NfVG9reW9fTVMiLERBVFVNWyJEX1Rva3lvIixTUEhFUk9JRFsiQmVzc2VsXzE4
NDEiLDYzNzczOTcuMTU1LDI5OS4xNTI4MTI4XV0sUFJJTUVNWyJHcmVlbndpY2giLDAuMF0sVU5J
VFsiPINKg1iDXoOAPiIsNC44NDgxMzY4MTEwOTUzNTllLTAwOV1d

encoding has not been determined by the enca

seva@SEVA-WORK:~/$ enca --version
enca 1.19

Features: +librecode-interface +iconv-interface +external-converter +language-detection -locale-alias +target-charset-auto +ENCAOPT 

Copyright (C) 2000-2005 David Necas (Yeti) (<[email protected]>),
              2005 Zuxy Meng (<[email protected]>).

Enca is free software; it can be copied and/or modified under the terms of
version 2 of GNU General Public License, run `enca --license' to see the full
license text.  There is NO WARRANTY; not even for MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE.

The kate (KDE-bindled) editor has successfully recognized sjis encoding on the same file

The recode application has been installed and successfully decodes the source file when the encoding is explicitly passed:

seva@SEVA-WORK:~/$ base64 -d | recode SJIS..utf-8
R0VPR0NTWyJHQ1NfVG9reW9fTVMiLERBVFVNWyJEX1Rva3lvIixTUEhFUk9JRFsiQmVzc2VsXzE4
NDEiLDYzNzczOTcuMTU1LDI5OS4xNTI4MTI4XV0sUFJJTUVNWyJHcmVlbndpY2giLDAuMF0sVU5J
VFsiPINKg1iDXoOAPiIsNC44NDgxMzY4MTEwOTUzNTllLTAwOV1d
GEOGCS["GCS_Tokyo_MS",DATUM["D_Tokyo",SPHEROID["Bessel_1841",6377397.155,299.1528128]],PRIMEM["Greenwich",0.0],UNIT["<カスタム>",4.848136811095359e-009]]
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