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

[Feature request] Additional support for Japanese/UTF character encodings; also display recent encodings #5879

Open
SpongebobSquamirez opened this issue Jul 4, 2019 · 7 comments
Labels
scintilla dependent Can't be considered for N++ implementation unless/until Scintilla changes

Comments

@SpongebobSquamirez
Copy link

SpongebobSquamirez commented Jul 4, 2019

Description of the Issue

Dealing with Japanese programming, text files, etc. in general (e.g. ROM hacking, when working in Japan, etc.) can require inspecting files with encodings besides just Shift-JIS: in particular, there are other very standard character encodings for Japanese that I'd like to be able to switch to; namely, at least JIS and EUC, if not also UTF-16/32:
https://en.wikipedia.org/wiki/ISO/IEC_2022#ISO-2022-JP
https://en.wikipedia.org/wiki/Extended_Unix_Code

Source: https://en.wikipedia.org/wiki/Japanese_language_and_computers#Character_encodings

Showing recently used encodings would also be a big help...

Steps to Reproduce the Issue

  1. Encoding->Character Sets ->Japanese
  2. See that there's only Shift-JIS available
  3. Alternatively, open a file encoded in EUC or old JIS/be unable to confirm whether it's encoded that way

Expected Behavior

The ability to change the character encoding to EUC or JIS.
Having the ability to set favorites or see recently used encodings would also be handy since going through 3 menus to select my encoding of choice every time SUCKS.

Actual Behavior

Can only switch to Shift-JIS/UTF-8. From looking at past issues and online, it sounds like UTF-16 is supposed to be supported by Notepad++, but I don't see it in the menu.

@xylographe
Copy link
Contributor

Notepad++ does not support UTF-16.

@SpongebobSquamirez
Copy link
Author

Well in that case, add that to my request (though not to the exclusion of JIS/EUC)

@SpongebobSquamirez SpongebobSquamirez changed the title [Feature request] Additional support for Japanese/UTF character encodings [Feature request] Additional support for Japanese/UTF character encodings; also display recent encodings Jul 4, 2019
@SpongebobSquamirez
Copy link
Author

Another editor with support for many different Japanese encodings, for reference: https://mijet.eludevisibility.org/JWPxp/JWPxp.html

@chcg
Copy link
Contributor

chcg commented Aug 7, 2019

See https://en.wikipedia.org/wiki/UTF-16 for the difference between UTF-16 and UCS-2:

UTF-16 arose from an earlier fixed-width 16-bit encoding known as UCS-2 (for 2-byte Universal Character Set) once it became clear that more than 2^16 code points were needed.[1]

See https://www.scintilla.org/ScintillaDoc.html#SCI_STYLESETCHARACTERSET
for the supported characterset of scintilla on the windows platform.

@SpongebobSquamirez
Copy link
Author

Okay, I guess that is somewhat helpful for understanding what I said about utf-16, but neither of the comments that have been made on this thread by others talk about the main thing I'm requesting, which is more Japanese support...

@Ekopalypse
Copy link
Contributor

@weirdalsuperfan

I guess that is somewhat helpful for understanding what I said about utf-16

Isn't that the whole reason for discussing something, to get a better understanding what needs to be done?

However, if scintilla does not support it, then there is less to nothing which npp can do to support it. Neil, made a decision a while ago to remove the support for EUC because of some performance issues.

So in order to get this done, you need to convince the scintilla team to support it in first place.

@SpongebobSquamirez
Copy link
Author

@Ekopalypse The point is to not just discuss "something," but the matter at hand. UTF-16 is totally secondary to the Japanese support I was requesting.

Thank you for address my concern about Japanese support. Sucks to see support was dropped, although that was 9 years ago, so maybe Neil will change his mind. I'll see about taking this request to Scintilla.

@chcg chcg added the scintilla dependent Can't be considered for N++ implementation unless/until Scintilla changes label May 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scintilla dependent Can't be considered for N++ implementation unless/until Scintilla changes
Projects
None yet
Development

No branches or pull requests

4 participants