On Wednesday 14 February 2007 9:57:05 am Georg Baum wrote: > We should not do that. Some programs (including file) pretend to be able to > detect encodings automatically. But it is the very nature of encodings that > you have to specify which one you use. Those programs that try to detect > the encoding do use some heuristics. Some fail quite often (IIRC kwrite), > others do mostly work (e.g. vim), but since this cannot work reliably I do > not want to risk damaging a file of non-CJK LyX simply because it might be > one of CJK-LyX.
I did not want to remove the user's preference but just to get a reasonable default. The user should always be able to override the option. My problem with the entry in the menu is that we have to keep it forever for all lyx-cjk documents previous to 1.5. I don't like this part. :-( But if no better solution is available then the menu solution is the least worse. :-) > Georg -- José Abílio