]> git.stg.codes - stg.git/commitdiff
Phone number may contain cyrilic characters. Added conversion.
authorMaxim Mamontov <faust.madf@gmail.com>
Sun, 25 Jan 2015 18:05:15 +0000 (20:05 +0200)
committerMaxim Mamontov <faust.madf@gmail.com>
Sun, 25 Jan 2015 18:05:15 +0000 (20:05 +0200)
projects/sgconf/main.cpp

index f83d389434105d06bf375328c2b17321b15671f5..81ea716c74055ff86007092e4163e4970361b04b 100644 (file)
@@ -1002,7 +1002,7 @@ while (1)
             break;
 
         case 'P': //phone
             break;
 
         case 'P': //phone
-            ParseAnyString(optarg, &str);
+            ParseAnyString(optarg, &str, "koi8-ru");
             req.phone = str;
             break;
 
             req.phone = str;
             break;