From 35204f8f33d7400a5fefeffea533fb4cb4097211 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Sat, 18 Nov 2006 21:08:16 +0000 Subject: [PATCH] hopefully fix tex2lyx linking. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15972 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/tex2lyx/tex2lyx.C | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/tex2lyx/tex2lyx.C b/src/tex2lyx/tex2lyx.C index 5135eae4f8..1175754ec2 100644 --- a/src/tex2lyx/tex2lyx.C +++ b/src/tex2lyx/tex2lyx.C @@ -25,6 +25,7 @@ #include "support/lyxlib.h" #include "support/os.h" #include "support/package.h" +#include "support/unicode.h" #include #include @@ -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()); -- 2.39.2