diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-08-24 05:07:08 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-08-24 05:07:08 +0300 |
commit | 35c5cc6c13327c36e3e0bf0f5d6431a9c19c897a (patch) | |
tree | b0f884e8e88fe08bb0028836d74b479ae5752938 /utilities.cpp | |
parent | f6721be1f054f6ecfe25c8722113e97aa1a94de1 (diff) |
parse gpg output in utf8 format, possible locales bug fixed (need checks)
Diffstat (limited to 'utilities.cpp')
-rw-r--r-- | utilities.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/utilities.cpp b/utilities.cpp index 07623e1..7d0b241 100644 --- a/utilities.cpp +++ b/utilities.cpp @@ -261,22 +261,6 @@ void storeOutput(HANDLE ahandle, string *output) } while (available>0);
}
-void cp866_to_cp1251(string *str)
-{
- string::iterator p;
- for(p = str->begin(); p != str->end(); p++)
- {
- if(*p > -129 && *p < -80)
- *p += 64;
- else if(*p > -33 && *p < -16)
- *p += 16;
- else if(*p == -16)
- *p -= 72;
- else if(*p == -17)
- *p -= 57;
- }
-}
-
void HistoryLog(HANDLE hContact, char *data, int event_type, int flags) { DBEVENTINFO Event = {0}; |