/[pcre]/code/trunk/pcrecpp_unittest.cc
ViewVC logotype

Diff of /code/trunk/pcrecpp_unittest.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 255 by ph10, Mon Sep 17 10:09:22 2007 UTC revision 256 by ph10, Wed Sep 19 08:57:53 2007 UTC
# Line 1136  int main(int argc, char** argv) { Line 1136  int main(int argc, char** argv) {
1136      printf("Testing UTF-8 handling\n");      printf("Testing UTF-8 handling\n");
1137    
1138      // Three Japanese characters (nihongo)      // Three Japanese characters (nihongo)
1139      const char utf8_string[] = {      const unsigned char utf8_string[] = {
1140           0xe6, 0x97, 0xa5, // 65e5           0xe6, 0x97, 0xa5, // 65e5
1141           0xe6, 0x9c, 0xac, // 627c           0xe6, 0x9c, 0xac, // 627c
1142           0xe8, 0xaa, 0x9e, // 8a9e           0xe8, 0xaa, 0x9e, // 8a9e
1143           0           0
1144      };      };
1145      const char utf8_pattern[] = {      const unsigned char utf8_pattern[] = {
1146           '.',           '.',
1147           0xe6, 0x9c, 0xac, // 627c           0xe6, 0x9c, 0xac, // 627c
1148           '.',           '.',

Legend:
Removed from v.255  
changed lines
  Added in v.256

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12