Skip to content

Commit

Permalink
Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
Browse files Browse the repository at this point in the history
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3864 ea778897-0a13-0410-b9d1-a72fbfd435f5
  • Loading branch information
eht16 committed Jun 14, 2009
1 parent 445f515 commit 9d9f40c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>

* src/encodings.c, src/encodings.h, src/plugindata.h:
Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).


2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>

* tagmanager/pascal.c:
Expand Down
9 changes: 5 additions & 4 deletions src/encodings.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,11 @@ static void init_encodings(void)
fill(7, EASTASIAN, GEANY_ENCODING_EUC_JP, "EUC-JP", _("Japanese"));
fill(8, EASTASIAN, GEANY_ENCODING_ISO_2022_JP, "ISO-2022-JP", _("Japanese"));
fill(9, EASTASIAN, GEANY_ENCODING_SHIFT_JIS, "SHIFT_JIS", _("Japanese"));
fill(10, EASTASIAN, GEANY_ENCODING_EUC_KR, "EUC-KR", _("Korean"));
fill(11, EASTASIAN, GEANY_ENCODING_ISO_2022_KR, "ISO-2022-KR", _("Korean"));
fill(12, EASTASIAN, GEANY_ENCODING_JOHAB, "JOHAB", _("Korean"));
fill(13, EASTASIAN, GEANY_ENCODING_UHC, "UHC", _("Korean"));
fill(10, EASTASIAN, GEANY_ENCODING_CP_932, "CP932", _("Japanese"));
fill(11, EASTASIAN, GEANY_ENCODING_EUC_KR, "EUC-KR", _("Korean"));
fill(12, EASTASIAN, GEANY_ENCODING_ISO_2022_KR, "ISO-2022-KR", _("Korean"));
fill(13, EASTASIAN, GEANY_ENCODING_JOHAB, "JOHAB", _("Korean"));
fill(14, EASTASIAN, GEANY_ENCODING_UHC, "UHC", _("Korean"));

fill(0, NONE, GEANY_ENCODING_NONE, "None", _("Without encoding"));
}
Expand Down
1 change: 1 addition & 0 deletions src/encodings.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ typedef enum
GEANY_ENCODING_WINDOWS_1258,

GEANY_ENCODING_NONE,
GEANY_ENCODING_CP_932,

GEANY_ENCODINGS_MAX
} GeanyEncodingIndex;
Expand Down
2 changes: 1 addition & 1 deletion src/plugindata.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
enum {
/** The Application Programming Interface (API) version, incremented
* whenever any plugin data types are modified or appended to. */
GEANY_API_VERSION = 142,
GEANY_API_VERSION = 143,

/** The Application Binary Interface (ABI) version, incremented whenever
* existing fields in the plugin data types have to be changed or reordered. */
Expand Down

0 comments on commit 9d9f40c

Please sign in to comment.