]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/tex2lyx.C
hopefully fix tex2lyx linking.
[lyx.git] / 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());