From: Abdelrazak Younes Date: Sat, 18 Nov 2006 21:08:16 +0000 (+0000) Subject: hopefully fix tex2lyx linking. X-Git-Tag: 1.6.10~11833 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=35204f8f33d7400a5fefeffea533fb4cb4097211;p=features.git hopefully fix tex2lyx linking. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15972 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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());