From e34fd741d4bcf37f2366fa248fd9342b1049b0cd Mon Sep 17 00:00:00 2001 From: Pascal Junck Date: Tue, 2 Nov 2004 15:02:47 +0000 Subject: INTEGRATION: CWS ivo05 (1.8.22); FILE MERGED 2004/09/17 15:05:03 ihi 1.8.22.2: RESYNC: (1.8-1.9); FILE MERGED 2004/09/17 14:47:15 ihi 1.8.22.1: #i34128# Strip UTF8 Byte Order Marker --- transex3/inc/export.hxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/transex3/inc/export.hxx b/transex3/inc/export.hxx index 41b8d2829d45..8f49e75ffa5f 100644 --- a/transex3/inc/export.hxx +++ b/transex3/inc/export.hxx @@ -2,9 +2,9 @@ * * $RCSfile: export.hxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: kz $ $Date: 2004-08-30 17:28:25 $ + * last change: $Author: pjunck $ $Date: 2004-11-02 16:02:47 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -317,6 +317,10 @@ public: static std::vector GetForcedLanguages(); static void SetLanguages( std::vector val ); + static void RemoveUTF8ByteOrderMarker( ByteString &rString ); + static bool hasUTF8ByteOrderMarker( const ByteString &rString ); + static void RemoveUTF8ByteOrderMarkerFromFile( const ByteString &rFilename ); + static bool fileHasUTF8ByteOrderMarker( const ByteString &rString ); static USHORT GetLangIndex( USHORT nLangId ); static CharSet GetCharSet( USHORT nLangId ); static USHORT GetLangByIsoLang( const ByteString &rIsoLang ); -- cgit