]> git.lyx.org Git - features.git/commitdiff
hopefully fix tex2lyx linking.
authorAbdelrazak Younes <younes@lyx.org>
Sat, 18 Nov 2006 21:08:16 +0000 (21:08 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sat, 18 Nov 2006 21:08:16 +0000 (21:08 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15972 a592a061-630c-0410-9148-cb99ea01b6c8

src/tex2lyx/tex2lyx.C

index 5135eae4f8356a61e9ad5fd240b43a025b8c4dc2..1175754ec2241028ddfc34dfb500f9ffc0bd4261 100644 (file)
@@ -25,6 +25,7 @@
 #include "support/lyxlib.h"
 #include "support/os.h"
 #include "support/package.h"
+#include "support/unicode.h"
 
 #include <boost/function.hpp>
 #include <boost/filesystem/operations.hpp>
@@ -66,6 +67,13 @@ using lyx::support::isFileReadable;
 namespace fs = boost::filesystem;
 
 
+IconvProcessor & utf8ToUcs4()
+{
+       static IconvProcessor iconv(ucs4_codeset, "UTF-8");
+       return iconv;
+}
+
+
 // Hacks to allow the thing to link in the lyxlayout stuff
 LyXErr lyxerr(std::cerr.rdbuf());