[Date Prev][Date Next]
Re: (ITS#5256) encoding of guide.sdf
> email@example.com wrote:
>> firstname.lastname@example.org wrote:
>>> <quote who="email@example.com">
>>>> the guide *.sdf files are UTF-8 encoded, but the online availeable HTML
>>>> seem to be iso8859-1 encoded, which leeds to display errors, an example is
>>>> ... proxyâ??s efficiency ...
>>> Is this something I can fix, or is it part of the doc build for the main
>> It's in the SDF source files, therefore something you should fix. I don't know
>> what text editor you used on those files, but you should use something else,
>> or use one that you can set to just ISO8859-1.
>> I can't think of a grep regex that will detect 8-bit characters, but you need
>> to find them all and get rid of them.
> (Used a binary editor to generate a regexp for [ 0x80 - 0xff ]). There were
> only two occurrences in the sdf files; both in backends.sdf. Both are the same
> character, an apostrophe used instead of a single quote.
> (binary patch xx)
> X=`cat xx`
> % grep "[$X]" *.sdf
> backends.sdf:same connection. This connection pooling strategy can enhance the
> backends.sdf:maybe stored procedures can?t be considered programming, anyway ;).
I use Vim and gedit. The above would have been copy and paste from the FAQ.
I'll do a Vim trigger to clean up things like this before a commit/make.
T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
Open Source. Open Solutions(tm).