On 13 February 2011 05:32, Gary F. <[email protected]> wrote: > Running tidy on a generated .html file: > > line 11 column 83 - Warning: replacing invalid character code 128 > line 11 column 84 - Warning: replacing invalid character code 153 > > It turns out that it is the single quote in this excerpt that it is > complaining about: > > Let’s give that a try. > > which is encoded as follows: > > 0000000 4c 65 74 e2 80 99 73 20 67 69 76 65 20 74 68 > 61 > L e t 342 200 231 s g i v e > t h a > 0000020 74 20 61 20 74 72 79 2e 0a > t a t r y . \n > > When tidy get's done with it, it looks like this: > > Let’s give that a try. > > Not exactly a big improvement. > > Firefox renders the original, just fine, without complaint.
I'd say tidy is wrong, e2 80 99 is correct utf-8 encoding for right single quotation mark. Tidy's suggestion is rubbish. Cheers Lex PS maybe your system is telling tidy that the file isn't utf-8, whats your LANG set to? > > > > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/asciidoc?hl=en. > > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
