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

notepad3 open some asni coded *. bat as utf-8 or gb-18030 #1431

Closed
kli2013 opened this issue Jul 17, 2019 · 8 comments
Closed

notepad3 open some asni coded *. bat as utf-8 or gb-18030 #1431

kli2013 opened this issue Jul 17, 2019 · 8 comments

Comments

@kli2013
Copy link

kli2013 commented Jul 17, 2019

My computer system is Simplified Chinese
When opening bat files encoded by Asni with notepad3
Random decoded as UTF-8 or gb-18030

@RaiKoHoff
Copy link
Collaborator

Please provide some test-files and test also current beta version _5.19.717.2394 (for beta channel access see #1129).

@kli2013
Copy link
Author

kli2013 commented Jul 18, 2019

https://mega.nz/#!TFRFnAxK!AjZ_nuE_6xFV22RhfaQQQfbjKVVXJxiR2APLgbFvX0g
here is two bat file and my test picture
use 5.19.717.2395 BETA

@hpwamr
Copy link
Collaborator

hpwamr commented Jul 18, 2019

Hello @kli2013 ,
The site of your link is blocked because it is considered as: "insecure" !
Could you please, use for eg: https://anonfile.com/ or https://openload.cc/ or https://bayfiles.com/
Or simply upload your file in one of our Read/Write Exchange_Place, see #1129

@kli2013
Copy link
Author

kli2013 commented Jul 18, 2019

@hpwamr
Copy link
Collaborator

hpwamr commented Jul 18, 2019

Hello @RaiKoHoff , here the result of a first analyze:

"clean windows tray'

  • Notepad3 v2395 "Out-of-the-Box" --> showed in statusbar: GB-18030
  • Notepad3 v2395 "OTB", UCHARDET in Debug Mode:
    UCD=GB18030, 99% (reliable), showed in statusbar: GB-18030
    For this file Notepad3 and UCHARDET have correctly Chinese Simplified detected... 👍
  • Notepad++ v7.7.1 "OTB" --> GB2312 (Simplified)

"Del USB drive System...'

  • Notepad3 v2395 "Out-of-the-Box" --> showed in statusbar: UTF-8
  • Notepad3 v2395 "OTB", UCHARDET in Debug Mode:
    UCD=Windows-1252, 63% (reliable), showed in statusbar: ANSI (CP-1252)
    For this file, Notepad3 and UCHARDET have incorrectly Simplified Chinese detected because there are NOT enough Chinese characters (only 5 chars ! ).
    Adding more Chinese characters and the detection becomes correct! 🤔
  • Notepad++ v7.7.1 "OTB" --> ANSI

Hello @kli2013,
My recommendation for problematic files is:

  • Clean the list of "Remember Recent Files" :
    Settings --> Remember --> "Unchecked" Remember Recent Files
  • Recode your file to Chinese Simplified:
    File --> Encoding --> "Recode to GB18030 (10th line from top)
  • Set again "Remember Recent Files": Settings --> Remember --> "Checked" Remember Recent Files

@RaiKoHoff
Copy link
Collaborator

... and use the development beta version (release version has problem with local ANSI code-page ...).

@kli2013
Copy link
Author

kli2013 commented Jul 18, 2019

ok..

@hpwamr
Copy link
Collaborator

hpwamr commented Jul 19, 2019

Hello @kli2013 ,

As far as I am concerned, this issue may be closed....

@kli2013 kli2013 closed this as completed Aug 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants