mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
tex2lyx/preamble.cpp: change encoding from ascii to auto when importing TeX files, fixes
http://bugzilla.lyx.org/show_bug.cgi?id=4719 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24196 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
36932b10fa
commit
8d6583e9ce
@ -305,7 +305,12 @@ void handle_package(string const & name, string const & opts)
|
||||
// therefore check for the "," character
|
||||
// also only set when there is not more then one babel language option
|
||||
if (opts.find(",") == string::npos && one_language == true)
|
||||
h_inputencoding = opts;
|
||||
if (opts == "ascii")
|
||||
//change ascii to auto to be in the unicode range, see
|
||||
//http://bugzilla.lyx.org/show_bug.cgi?id=4719
|
||||
h_inputencoding = "auto";
|
||||
else
|
||||
h_inputencoding = opts;
|
||||
options.clear();
|
||||
} else if (name == "makeidx")
|
||||
; // ignore this
|
||||
|
Loading…
Reference in New Issue
Block a user