]> git.stg.codes - stg.git/blobdiff - projects/sgconf/main.cpp
Add notifications in test tariffs class
[stg.git] / projects / sgconf / main.cpp
index 69756712450ad8cb1fe74b0777374160a08e1b23..2aaacbc01d2e5e4d723f32d1d42f37de7a376008 100644 (file)
@@ -973,7 +973,7 @@ while (1)
             break;
 
         case 'N': //Note
             break;
 
         case 'N': //Note
-            ParseAnyString(optarg, &str);
+            ParseAnyString(optarg, &str, "koi8-ru");
             req.note = str;
             break;
 
             req.note = str;
             break;
 
@@ -983,12 +983,12 @@ while (1)
             break;
 
         case 'D': //aDdress
             break;
 
         case 'D': //aDdress
-            ParseAnyString(optarg, &str);
+            ParseAnyString(optarg, &str, "koi8-ru");
             req.address = str;
             break;
 
         case 'L': //emaiL
             req.address = str;
             break;
 
         case 'L': //emaiL
-            ParseAnyString(optarg, &str);
+            ParseAnyString(optarg, &str, "koi8-ru");
             req.email = str;
             //printf("EMAIL=%s\n", optarg);
             break;
             req.email = str;
             //printf("EMAIL=%s\n", optarg);
             break;
@@ -999,7 +999,7 @@ while (1)
             break;
 
         case 'G': //Group
             break;
 
         case 'G': //Group
-            ParseAnyString(optarg, &str);
+            ParseAnyString(optarg, &str, "koi8-ru");
             req.group = str;
             break;
 
             req.group = str;
             break;