From: Maxim Mamontov Date: Mon, 11 Apr 2011 14:49:20 +0000 (+0300) Subject: Add iconv for 'note', 'email', 'address' and 'group' X-Git-Tag: 2.407-rc3~8 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/224f00301a3d7839c37ad1d71ad18b32b89f14fb Add iconv for 'note', 'email', 'address' and 'group' --- diff --git a/projects/sgconf/main.cpp b/projects/sgconf/main.cpp index 69756712..2aaacbc0 100644 --- a/projects/sgconf/main.cpp +++ b/projects/sgconf/main.cpp @@ -973,7 +973,7 @@ while (1) break; case 'N': //Note - ParseAnyString(optarg, &str); + ParseAnyString(optarg, &str, "koi8-ru"); req.note = str; break; @@ -983,12 +983,12 @@ while (1) break; case 'D': //aDdress - ParseAnyString(optarg, &str); + ParseAnyString(optarg, &str, "koi8-ru"); req.address = str; break; case 'L': //emaiL - ParseAnyString(optarg, &str); + ParseAnyString(optarg, &str, "koi8-ru"); req.email = str; //printf("EMAIL=%s\n", optarg); break; @@ -999,7 +999,7 @@ while (1) break; case 'G': //Group - ParseAnyString(optarg, &str); + ParseAnyString(optarg, &str, "koi8-ru"); req.group = str; break;