projects
/
platform
/
upstream
/
libsolv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix iso-8859-1 to utf8 transcoding bug
[platform/upstream/libsolv.git]
/
ext
/
repo_rpmdb_pubkey.c
diff --git
a/ext/repo_rpmdb_pubkey.c
b/ext/repo_rpmdb_pubkey.c
index
8b6b453
..
2ca79c7
100644
(file)
--- a/
ext/repo_rpmdb_pubkey.c
+++ b/
ext/repo_rpmdb_pubkey.c
@@
-102,7
+102,7
@@
setutf8string(Repodata *repodata, Id handle, Id tag, const char *str)
if (c >= 0xc0)
{
*bp++ = 0xc3;
- c ^= 0x80;
+ c ^= 0x
c0 ^ 0x
80;
}
else if (c >= 0x80)
*bp++ = 0xc2;