From fbfdf102bd231eca03bbe885476d75a850c6a311 Mon Sep 17 00:00:00 2001 From: "jia.shao.peng" Date: Thu, 24 Mar 2011 09:58:51 +0000 Subject: [PATCH] Cpp: Fix UTF-16 char in code to make code compile on Windows. Patch contributed by philip.liard git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@141 ee073f10-1060-11df-b6a4-87a95322a99c --- cpp/src/phonenumberutil.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/phonenumberutil.cc b/cpp/src/phonenumberutil.cc index bb1d5121..3f5eb486 100644 --- a/cpp/src/phonenumberutil.cc +++ b/cpp/src/phonenumberutil.cc @@ -466,7 +466,7 @@ void CreateRegularExpressions() { // two options for representing the ó - the character itself, and one in the // unicode decomposed form with the combining acute accent. known_extn_patterns.reset(new string( - StrCat("[  \\t,]*(?:ext(?:ensi(?:o\u0301?|ó))?n?|extn?|[,xx##~~]|" + StrCat("[  \\t,]*(?:ext(?:ensi(?:ó?|ó))?n?|extn?|[,xx##~~]|" "int|int|anexo)" "[:\\..]?[  \\t,-]*([", kValidDigits, "]{1,7})#?|[- ]+([", kValidDigits, "]{1,5})#"))); -- 2.34.1