summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/Preprocessor.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-01-14 11:07:30 -0330
committerDwayne Boone <dwayne@zeroc.com>2009-01-14 11:07:30 -0330
commit47b7978c8e1a1d5c916dd8da4773fa4627528bec (patch)
tree6d26b1782e710bd0061fd04c7dffbb829d30a3c9 /cpp/src/Slice/Preprocessor.cpp
parenthttp://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=3517 ; translator stdout/s... (diff)
downloadice-47b7978c8e1a1d5c916dd8da4773fa4627528bec.tar.bz2
ice-47b7978c8e1a1d5c916dd8da4773fa4627528bec.tar.xz
ice-47b7978c8e1a1d5c916dd8da4773fa4627528bec.zip
Bug 3140 - Change encoding to en_us.utf8 to work around mcpp bug
Diffstat (limited to 'cpp/src/Slice/Preprocessor.cpp')
-rw-r--r--cpp/src/Slice/Preprocessor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Slice/Preprocessor.cpp b/cpp/src/Slice/Preprocessor.cpp
index dd1260f2fa0..6c226c2db72 100644
--- a/cpp/src/Slice/Preprocessor.cpp
+++ b/cpp/src/Slice/Preprocessor.cpp
@@ -126,7 +126,7 @@ Slice::Preprocessor::preprocess(bool keepComments)
args.push_back("-C");
}
args.push_back("-e");
- args.push_back("utf8");
+ args.push_back("en_us.utf8");
args.push_back(_fileName);
const char** argv = new const char*[args.size() + 1];
@@ -230,7 +230,7 @@ Slice::Preprocessor::printMakefileDependencies(Language lang, const vector<strin
vector<string> args = _args;
args.push_back("-M");
args.push_back("-e");
- args.push_back("utf8");
+ args.push_back("en_us.utf8");
args.push_back(_fileName);
const char** argv = new const char*[args.size() + 1];