From 1e89cfaa1979d6877c4809b11d5be3a470c2302c Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Sun, 25 Jan 2015 20:05:15 +0200 Subject: [PATCH] Phone number may contain cyrilic characters. Added conversion. --- projects/sgconf/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/sgconf/main.cpp b/projects/sgconf/main.cpp index f83d3894..81ea716c 100644 --- a/projects/sgconf/main.cpp +++ b/projects/sgconf/main.cpp @@ -1002,7 +1002,7 @@ while (1) break; case 'P': //phone - ParseAnyString(optarg, &str); + ParseAnyString(optarg, &str, "koi8-ru"); req.phone = str; break; -- 2.44.2