projects
/
chise
/
xemacs-chise.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66c0a83
)
(detect_coding_big5): Fixed problem in XEmacs UTF-2000 about private area.
author
tomo
<tomo>
Wed, 11 Jul 2001 07:11:01 +0000
(07:11 +0000)
committer
tomo
<tomo>
Wed, 11 Jul 2001 07:11:01 +0000
(07:11 +0000)
src/text-coding.c
patch
|
blob
|
history
diff --git
a/src/text-coding.c
b/src/text-coding.c
index
4243eac
..
7ba047e
100644
(file)
--- a/
src/text-coding.c
+++ b/
src/text-coding.c
@@
-3550,7
+3550,13
@@
detect_coding_big5 (struct detection_state *st, const Extbyte *src, size_t n)
if (c < 0x40 || (c >= 0x80 && c <= 0xA0))
return 0;
}
- else if (c >= 0xA1)
+ else if (
+#ifdef UTF2000
+ c >= 0x81
+#else
+ c >= 0xA1
+#endif
+ )
st->big5.in_second_byte = 1;
}
return CODING_CATEGORY_BIG5_MASK;