]> git.stg.codes - stg.git/blobdiff - projects/sgconf/main.cpp
Userdata can also contain cyrilic symbols.
[stg.git] / projects / sgconf / main.cpp
index f83d389434105d06bf375328c2b17321b15671f5..e0ab43ced7c2caba4c80fa83c730cd9aea6e5d84 100644 (file)
@@ -1002,7 +1002,7 @@ while (1)
             break;
 
         case 'P': //phone
-            ParseAnyString(optarg, &str);
+            ParseAnyString(optarg, &str, "koi8-ru");
             req.phone = str;
             break;
 
@@ -1062,7 +1062,7 @@ while (1)
         case 707:
         case 708:
         case 709:
-            ParseAnyString(optarg, &str);
+            ParseAnyString(optarg, &str, "koi8-ru");
             //printf("UD%d\n", c - 700);
             req.ud[c - 700] = str;
             break;