Here is my first attempt at an importer for UCS-2.

This is the native Unicode encoding on Windows 2000 and newer
as produced by Notepad and MSWord.  It handles little-endian
and big-endian UCS-2 and Microsoft's BOMs.

Andrew.

-- 
http://linguaphile.sourceforge.net
Index: src/wp/ap/unix/ap_UnixApp.cpp
===================================================================
RCS file: /cvsroot/abi/src/wp/ap/unix/ap_UnixApp.cpp,v
retrieving revision 1.98
diff -r1.98 ap_UnixApp.cpp
109a110
> #include "ie_imp_UCS2.h"
305a307
>               IE_Imp::registerImporter(new IE_Imp_UCS2_Sniffer ());
Index: src/wp/ap/win/ap_Win32App.cpp
===================================================================
RCS file: /cvsroot/abi/src/wp/ap/win/ap_Win32App.cpp,v
retrieving revision 1.61
diff -r1.61 ap_Win32App.cpp
86a87
> #include "ie_imp_UCS2.h"
191a193
>               IE_Imp::registerImporter(new IE_Imp_UCS2_Sniffer ());
Index: src/wp/impexp/xp/GNUmakefile.am
===================================================================
RCS file: /cvsroot/abi/src/wp/impexp/xp/GNUmakefile.am,v
retrieving revision 1.7
diff -r1.7 GNUmakefile.am
53a54
>       ie_imp_UCS2.cpp                         \
Index: src/wp/impexp/xp/Makefile
===================================================================
RCS file: /cvsroot/abi/src/wp/impexp/xp/Makefile,v
retrieving revision 1.54
diff -r1.54 Makefile
53a54
>                       ie_imp_UCS2.cpp                         \

ie_imp_UCS2.h

ie_imp_UCS2.cpp

Reply via email to