summaryrefslogtreecommitdiff
path: root/transex3/source/cfgmerge.cxx
diff options
context:
space:
mode:
authorNils Fuhrmann <nf@openoffice.org>2001-05-31 08:44:37 +0000
committerNils Fuhrmann <nf@openoffice.org>2001-05-31 08:44:37 +0000
commitae09a852aebfb2e0e569955790e0e6dc76b62f1f (patch)
treecb92b22b37bc9c737e0d3813b9e97ea7f4d0ce9d /transex3/source/cfgmerge.cxx
parent39f1b66cb9c26c1e7d27db3840c04c454754af7a (diff)
Changed default to UTF8 and added -NOUTF8 switsch #87136#
Diffstat (limited to 'transex3/source/cfgmerge.cxx')
-rw-r--r--transex3/source/cfgmerge.cxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/transex3/source/cfgmerge.cxx b/transex3/source/cfgmerge.cxx
index 52b1dfbb1440..464647687632 100644
--- a/transex3/source/cfgmerge.cxx
+++ b/transex3/source/cfgmerge.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: cfgmerge.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: nf $ $Date: 2001-05-30 12:10:22 $
+ * last change: $Author: nf $ $Date: 2001-05-31 09:44:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -107,7 +107,7 @@ extern char *GetOutputFile( int argc, char* argv[])
bEnableExport = FALSE;
bMergeMode = FALSE;
bErrorLog = TRUE;
- bUTF8 = FALSE;
+ bUTF8 = TRUE;
sPrj = "";
sPrjRoot = "";
sInputFileName = "";
@@ -142,6 +142,10 @@ extern char *GetOutputFile( int argc, char* argv[])
nState = STATE_UTF8;
bUTF8 = TRUE;
}
+ else if ( ByteString( argv[ i ] ).ToUpperAscii() == "-NOUTF8" ) {
+ nState = STATE_UTF8;
+ bUTF8 = FALSE;
+ }
else if ( ByteString( argv[ i ] ).ToUpperAscii() == "-L" ) {
nState = STATE_LANGUAGES;
}