break;
case 'P': //phone
- ParseAnyString(optarg, &str);
+ ParseAnyString(optarg, &str, "koi8-ru");
req.phone = str;
break;
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;