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

GB2312のエンコードをできる欲しい #1725

Open
leehonleon opened this issue Sep 16, 2021 · 4 comments
Open

GB2312のエンコードをできる欲しい #1725

leehonleon opened this issue Sep 16, 2021 · 4 comments
Labels
enhancement ■機能追加

Comments

@leehonleon
Copy link

leehonleon commented Sep 16, 2021

(必須) やりたいこと(=実現したいこと)

エンコードGB2312のファイルを開けたいですが、提供されていません。
ご対応よろしくお願いいたします。

@beru beru added the enhancement ■機能追加 label Sep 17, 2021
@usagisita
Copy link
Contributor

usagisita commented Sep 18, 2021

文字コードセットCPをONにすると
10008 (MAC - 簡体字中国語 GB 2312)
20936 (簡体字中国語 GB2312)
54936 (GB18030 簡体字中国語)
というのがあると思います。
自動選択はありませんが、手動で選ぶことでおそらく使えると思います。
‘タイプ別設定‘のウィンドウデフォルトの文字コードに設定することもできます。

@arigayas
Copy link

設定(O)文字コードセット指定(A) で出るダイアログボックス。

デフォルト:

image

image

CP をON:

image
10008 (MAC - 簡体字中国語 GB 2312)
image
20936 (簡体字中国語 GB2312)
image
image

サクラエディタ v2.4.1.2849 32bit (tag v2.4.1)
(GitHash ee8234f)
(GitURL https://github.com/sakura-editor/sakura.git)

  Compile Info: V1916 WPR WIN601/I800/C000/N601
  Last Modified: 2020/5/30 03:10:34

@leehonleon
Copy link
Author

その機能があるとは良かったですが,gb2312で保存したファイルを開けると自動的にエンコードを読み込んで開けたいです。utfと同じようなこと。

@berryzplus
Copy link
Contributor

berryzplus commented Jan 21, 2022

これは一旦「解決」ですかね?

現状

  • 既存機能で一応開ける
  • 再オープン時に自動判定するのは無理。

機能改善例

  • サクラエディタ独自の「文字コードセット名」に中国語等の文字セットを追加する。
  • サクラエディタに指定できる「文字コードセット名」を標準化する(≒既存の独自定義を廃止)。

なんとなく、目的は達成できてそうに見えました。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ■機能追加
Projects
None yet
Development

No branches or pull requests

5 participants