stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r540771 - in /incubator/stdcxx/trunk/examples/manual: mbsrtowcs.cpp out/mbsrtowcs.out
Date Tue, 22 May 2007 22:06:51 GMT
Author: sebor
Date: Tue May 22 15:06:51 2007
New Revision: 540771

URL: http://svn.apache.org/viewvc?view=rev&rev=540771
Log:
2007-05-22  Martin Sebor  <sebor@roguewave.com>

	* mbsrtowcs.cpp (main): Corrected typo in hardcoded input.
	* mbsrtowcs.out: Corrected typos in expected output.

Modified:
    incubator/stdcxx/trunk/examples/manual/mbsrtowcs.cpp
    incubator/stdcxx/trunk/examples/manual/out/mbsrtowcs.out

Modified: incubator/stdcxx/trunk/examples/manual/mbsrtowcs.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/examples/manual/mbsrtowcs.cpp?view=diff&rev=540771&r1=540770&r2=540771
==============================================================================
--- incubator/stdcxx/trunk/examples/manual/mbsrtowcs.cpp (original)
+++ incubator/stdcxx/trunk/examples/manual/mbsrtowcs.cpp Tue May 22 15:06:51 2007
@@ -142,7 +142,7 @@
         // <U0391>: Greek letter Alpha
         "\xce\x91",
         // <U0391><U0392>: Greek letters Alpha Beta
-        "\xce\x91\xce\x91\xce\x92",
+        "\xce\x91\xce\x92",
         // <U0391><U0392><U0393>: Greek letters Alpha Beta Gamma
         "\xce\x91\xce\x92\xce\x93",
         // <U0966>: Devangari digit 0

Modified: incubator/stdcxx/trunk/examples/manual/out/mbsrtowcs.out
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/examples/manual/out/mbsrtowcs.out?view=diff&rev=540771&r1=540770&r2=540771
==============================================================================
--- incubator/stdcxx/trunk/examples/manual/out/mbsrtowcs.out (original)
+++ incubator/stdcxx/trunk/examples/manual/out/mbsrtowcs.out Tue May 22 15:06:51 2007
@@ -1,8 +1,8 @@
 UCS-2 (1): U+61  ==> UTF-8: \x61"
 UCS-2 (3): U+61 U+62 U+63  ==> UTF-8: \x61\x62\x63"
 UCS-2 (1): U+391  ==> UTF-8: \xce\x91"
-UCS-2 (3): U+391 U+391 U+392  ==> UTF-8: \xce\x91\xce\x91\xce\x92"
+UCS-2 (2): U+391 U+392  ==> UTF-8: \xce\x91\xce\x92"
 UCS-2 (3): U+391 U+392 U+393  ==> UTF-8: \xce\x91\xce\x92\xce\x93"
 UCS-2 (1): U+966  ==> UTF-8: \xe0\xa5\xa6"
-UCS-2 (2): U+967 U+966 U+393  ==> UTF-8: \xe0\xa5\xa7\xe0\xa5\xa6"
+UCS-2 (2): U+967 U+966  ==> UTF-8: \xe0\xa5\xa7\xe0\xa5\xa6"
 UCS-2 (3): U+968 U+967 U+966  ==> UTF-8: \xe0\xa5\xa8\xe0\xa5\xa7\xe0\xa5\xa6"



Mime
View raw message