[rfc-i] Another example of a draft with non-ASCII characters (draft-ietf-iri-3987bis-12.txt)
dthaler at microsoft.com
Wed Jul 18 11:44:39 PDT 2012
> -----Original Message-----
> From: rfc-interest-bounces at rfc-editor.org [mailto:rfc-interest-bounces at rfc-
> editor.org] On Behalf Of "Martin J. Dürst"
> Sent: Wednesday, July 18, 2012 12:54 AM
> To: Joe Hildebrand (jhildebr)
> Cc: Julian Reschke; RFC Interest
> Subject: Re: [rfc-i] Another example of a draft with non-ASCII characters (draft-
> On 2012/07/17 23:04, Joe Hildebrand (jhildebr) wrote:
> > On 7/17/12 6:53 AM, "Brian E Carpenter"<brian.e.carpenter at gmail.com>
> > wrote:
> >> It seems that Wordpad handles UTF16 correctly, but not UTF8. If you
> >> do "Save As Unicode" from Notepad, Wordpad can read it, but there are
> >> some unexpected changes of font.
> > If you put a Byte Order Mark
> > (http://en.wikipedia.org/wiki/Byte_order_mark) at the front, Wordpad
> > will probably do just fine.
> Yes it does. But as I said, I'm reluctant to use a BOM because that might create
> hick-ups somewhere down the line.
I agree with the others who said you should add the BOM so we can discover
any such hiccups.
> > It has no context to go on, so it's having to sniff out the encoding
> > and guess based on the first bit of the file.
> I'm not sure why the dump Notepad gets it, but Wordpad doesn't. But then I'm
> not using either very much.
Both notepad and Wordpad work fine for me just now. I saved it from IE, which
either added a BOM or else you must have updated the file to contain a BOM.
If anyone sees rectangles, make sure you have some TrueType font selected
(e.g., Consolas), but the default worked fine for me.
> Regards, Martin.
> > As Julian has said, this is one of several reasons why just saying
> > "make the current .txt format UTF8 and stop" is not an adequate
> > solution to the problems at hand. HTML and XML have ways of declaring
> > their encoding definitively inside the file format, so processors don't have to
> rfc-interest mailing list
> rfc-interest at rfc-editor.org
More information about the rfc-interest