Re: updates
seth vidal <[email protected]>
| Newsgroups | gmane.linux.rpm.metadata |
|---|---|
| Message-ID | <1066974121.7222.53.camel@binkley> |
> When I looked at this, I couldn't see what Joe was talking about (apart
> from the warning on the first line). There were only four characters
> that had values > 127 and they were all the second of two bytes in a
> valid UTF-8 character (registered symbol in three cases, copyright
> symbol in one).
>
> My test was (in python):
>
> d = open('fedora-core-test2-metadata.xml').read()
> [i for i in range(len(d)) if ord(d[i]) > 127]
>
> (not blindingly fast on a 4MB file, but it gets the job done).
>
> Okay, I was looking at the bzip2 version, rather than the raw version,
> but I assume the former was generated from the latter.
it was.
Any suggestions on utf-8 normalizing text are appreciated. :)
-sv