-rw-r--r-- | gammu/emb/common/service/gsmmisc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gammu/emb/common/service/gsmmisc.c b/gammu/emb/common/service/gsmmisc.c index 1c6ec8b..486d136 100644 --- a/gammu/emb/common/service/gsmmisc.c +++ b/gammu/emb/common/service/gsmmisc.c | |||
@@ -221,7 +221,10 @@ bool ReadVCALText(char *Buffer, char *Start, char *Value) | |||
221 | strcpy(buff,Start); | 221 | strcpy(buff,Start); |
222 | strcat(buff,":"); | 222 | strcat(buff,":"); |
223 | if (!strncmp(Buffer,buff,strlen(buff))) { | 223 | if (!strncmp(Buffer,buff,strlen(buff))) { |
224 | EncodeUnicode(Value,Buffer+strlen(Start)+1,strlen(Buffer)-(strlen(Start)+1)); | 224 | |
225 | // LR original :EncodeUnicode(Value,Buffer+strlen(Start)+1,strlen(Buffer)-(strlen(Start)+1)); | ||
226 | // LR we have utf8 as default | ||
227 | DecodeUTF8(Value,Buffer+strlen(Start)+1,strlen(Buffer)-(strlen(Start)+1)); | ||
225 | dbgprintf("ReadVCalText is \"%s\"\n",DecodeUnicodeConsole(Value)); | 228 | dbgprintf("ReadVCalText is \"%s\"\n",DecodeUnicodeConsole(Value)); |
226 | return true; | 229 | return true; |
227 | } | 230 | } |