]> git.lyx.org Git - features.git/commit
Fix byte order problems
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Mon, 4 Sep 2006 14:43:25 +0000 (14:43 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Mon, 4 Sep 2006 14:43:25 +0000 (14:43 +0000)
commit15be4fb8ef0223583d24151d626a1d51fed87898
tree4ac82daa978548cb4a1be84d2464d21442b90c4a
parentb05e4c7a82f5f13488e52bf4499312d2a49a0d57
Fix byte order problems
* src/support/unicode.C
(bytes_to_ucs4): make it work on big endian machines
(bytes_to_ucs2): make it work on little endian machines
(ucs2_to_ucs4): ditto
(utf8_to_ucs4): Invoke iconv with explicit BE suffix
(ucs2_to_ucs4): ditto
(ucs4_to_ucs2): ditto
(ucs4_to_utf8): ditto

* configure.ac: Check for byte order

* development/scons/SConstruct: Ditto

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14890 a592a061-630c-0410-9148-cb99ea01b6c8
configure.ac
development/scons/SConstruct
src/support/unicode.C