qyqx / unicad

Automatically exported from code.google.com/p/unicad
0 stars 1 forks source link

error with euc-kr #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. create sample.asp

2. change encoding
C-x RET f cp949-dos RET

3. write some code
<%
''잘못된 접속입니다
%>
4. reopen it.

What version of the product are you using? On what operating system?

emacs 24.4.1
Unicad v1.1.6-beta

Please provide any additional information below.

if i add some more korean text
''한글

it works normally.

Original issue reported on code.google.com by sky...@gmail.com on 27 Apr 2015 at 10:13

GoogleCodeExporter commented 9 years ago
after changing order of unicad-multibyte-group-list
it works properly

(require 'unicad)

(setq unicad-multibyte-group-list
  `([sjis 0 unicad-sjis-prober]
    [euc-jp 0 unicad-eucjp-prober]
    [euc-kr 0 unicad-euckr-prober]
    [,unicad-chosen-gb-coding-system 0 unicad-gb2312-prober]
    [big5 0 unicad-big5-prober]
    [euc-tw 0 unicad-euctw-prober]
    [,unicad-chosen-gb-coding-system 0 unicad-gbkcht-prober]
    [utf-8 0 unicad-utf8-prober]
    [utf-16le 0 unicad-ucs2le-prober]
    [utf-16be 0 unicad-ucs2be-prober])
  )

Original comment by sky...@gmail.com on 27 Apr 2015 at 10:22