git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c79951d
)
always use unsigned
author
Felix Domke
<tmbinc@elitedvb.net>
Sat, 28 Oct 2006 11:27:10 +0000
(11:27 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Sat, 28 Oct 2006 11:27:10 +0000
(11:27 +0000)
lib/base/estring.cpp
patch
|
blob
|
history
diff --git
a/lib/base/estring.cpp
b/lib/base/estring.cpp
index 18b277abac1a3cfd108f404f0338991d30126e1f..91491c381bddb6602bd6af9c1f0f3f2c2f31603a 100644
(file)
--- a/
lib/base/estring.cpp
+++ b/
lib/base/estring.cpp
@@
-522,7
+522,7
@@
std::string convertLatin1UTF8(const std::string &string)
while (i < len)
{
- unsigned long code=string[i++];
+ unsigned long code=
(unsigned char)
string[i++];
// Unicode->UTF8 encoding
if (code < 0x80) // identity latin <-> utf8 mapping
res[t++]=char(code);