"한창길" wrote: > 2. Many TeX macro style files for the CJK languages such as "cjk-latex", > use as input encoding option, "utf8x" instead of "utf8". So adding one > line in "lib/encodings" > > " Encoding utf8x utf8x UTF-8 > End" > and setting "Document -> Settings -> Language -> Encoding: utf8x", I can > view the lyx file which contains multibyte characters (see attached > multi2.png).
How did you create this file? And how do you choose "cjk-latex"? > 3. Now here is more serious stuff. When I open lyx file which contains CJK > characters from the previous version of lyx (CJK-LyX-1.4.x), all the CJK > characters look unreadable on the current lyx1.5.0svn window. Even > changing character encoding of the lyx file from "euc-kr", for example, to > "utf-8" with the use of "iconv", does not solve the problem. No. The right solution is to tell lyx2lyx that it should do this conversion. This can be done quickly if you can answer the following questions? 1) Are the .lyx files produced by cjk-lyx always in "euc-kr" encoding? If not, what other possibilities exist? 2) Does cjk-lyx set the encoding name with the \inputencoding comamdn in .lyx files? 3) Are the .lyx files cretaed by cjk-lyx always in one encoding, or can they contain stuff in different encodings (as determined by the language of a piece of text)? Maybe you can send me the file you used for the screenshots in the format that cjk-lyx produces, or is it not possible to produce such a file with cjk-lyx? > 4.With the introduction of "utf8x", we need to make lyx2lyx recognize this > encoding option: If I export a lyx file which contains CJK characters with > "utf8x" encoding setting, to plain latex file, and then import this tex > file, I get the following error messages; This is not a lyxl2lyx problem, but a tex2lyx problem. tex2lyx simply does not handle encodings correctly. A .lyx file with "utf8x" as \inputencoding is not valid currently. > I hope all these problems resolved before coming beta. I am sure that we can resolve these problems with your help. If in time for the beta depends on when Jose plans to release it. Georg