From: Maxim Mamontov Date: Sun, 25 Jan 2015 18:05:15 +0000 (+0200) Subject: Phone number may contain cyrilic characters. Added conversion. X-Git-Tag: 2.409~206 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/1e89cfaa1979d6877c4809b11d5be3a470c2302c?ds=inline Phone number may contain cyrilic characters. Added conversion. --- 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;