From 224f00301a3d7839c37ad1d71ad18b32b89f14fb Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Mon, 11 Apr 2011 17:49:20 +0300 Subject: [PATCH 1/1] Add iconv for 'note', 'email', 'address' and 'group' --- projects/sgconf/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; -- 2.44.2