[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Iceweasel uses wrong charset



Hi there


tomas@tuxteam.de wrote:

On Wed, May 11, 2016 at 12:34:29PM +0200, Rob van der Putten wrote:

<Cut>

I actually thought about this. But it just seems crude;

vim some.txt
^vufeff<Enter>
<Esc>:wq<Enter>

It does work though.
But I want UTF-8 without a BOM. It is, after all, the default locale.

Everyone wants that... except Microsoft, it seems.

Is Firefox really this braindead?

Sometimes I fear that too.

Note: If you edit this again, vim doesn't show the BOM any more.
It's there though.

That's because it has been enshrined by the Unicode Consortium. I think
I know who pushed that (Apple might have helped, though). So Vim's
correct in tolerating that on input.

I don't think they like BOM. After all they named it 'ZERO WIDTH NO-BREAK SPACE'.

Perhaps you can help yourself by even uglier tricks (like with an
http-equiv header in your HTML). But best would be if you could
exorcise this abject behaviour from Firefox.

For HTML this works.

I can even put hieroglyphs in a plain text file and print it using a plain text print queue. UTF-8 just works.
Firefox however, insists on putting a square peg into a round hole.

Let us know...

The only way to fix this is probably to edit the source.

I have a very old iceape that actually gets it right. An older version had a 'remove all bookmarks' button, which no longer exists. With iceweazel one actually has to create a bookmark to switch javascript on and of (the plug-in for this does not work). And with jesie's apache there is no longer a default mime-type or cern-meta module because _NO_ _ONE_ uses this any more.
Apparently I'm a figment of my own imagination.


Regards,
rob


Reply to: