~mdw
/
sgt
/
charset
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a mechanism for translating to and from the coding system symbols
[sgt/charset]
/
localenc.c
diff --git
a/localenc.c
b/localenc.c
index
115ea7c
..
5c761a8
100644
(file)
--- a/
localenc.c
+++ b/
localenc.c
@@
-145,6
+145,8
@@
int charset_from_localenc(const char *name)
return i;
if ( (i = charset_from_xenc(name)) != CS_NONE)
return i;
+ if ( (i = charset_from_emacsenc(name)) != CS_NONE)
+ return i;
for (i = 0; i < (int)lenof(localencs); i++) {
const char *p, *q;