From ce2f7954fdd9c537f8904c15c150171bc14642dd Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Mon, 17 Dec 2012 13:49:09 +0100 Subject: fix ascii escaped unicode generation Change-Id: I732a480e71c3f26ffde527c5e0eea36f814b8b03 --- l10ntools/source/propmerge.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'l10ntools') diff --git a/l10ntools/source/propmerge.cxx b/l10ntools/source/propmerge.cxx index 3bd44fb5f974..8c2b97b6c67b 100644 --- a/l10ntools/source/propmerge.cxx +++ b/l10ntools/source/propmerge.cxx @@ -88,7 +88,9 @@ namespace rOfstream << "\\u" << std::setfill('0') << std::setw(2) << std::uppercase - << std::hex << (cUniCode >> 8) << (cUniCode & 0xFF); + << std::hex << (cUniCode >> 8) + << std::setfill('0') << std::setw(2) << std::uppercase + << std::hex << (cUniCode & 0xFF); } } } -- cgit