Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #167725

Re: Iceweasel uses wrong charset

From Rob van der Putten <rob@sput.nl>
Newsgroups linux.debian.user
Subject Re: Iceweasel uses wrong charset
Date 2016-05-11 12:40 +0200
Message-ID <rxzIC-6qu-19@gated-at.bofh.it> (permalink)
References <rxy9Q-4Ae-13@gated-at.bofh.it> <rxytc-5fG-25@gated-at.bofh.it> <rxz5X-5GG-35@gated-at.bofh.it> <rxzpg-6fl-17@gated-at.bofh.it>
Organization Sput http://www.sput.nl/

Show all headers | View raw


Hi there


tomas@tuxteam.de wrote:

> This is happening only on local files? Perhaps FF is expecting that brain
> damaged byte order mark to recognize the file as UTF-8?
>
> When the data come over HTTP there are other out-of-band hints to communicate
> the encoding.
>
> Try editing the file with some Microsoft cra^H^H^H text editor and saving
> as "Unicode": that might insert the BOM at the beginning.
>
> Just a shot in the dark.

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.
Is Firefox really this braindead?

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


Regards,
Rob

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Iceweasel uses wrong charset Rob van der Putten <rob@sput.nl> - 2016-05-11 11:00 +0200
  Re: Iceweasel uses wrong charset Frédéric Marchal <frederic.marchal@wowtechnology.com> - 2016-05-11 11:20 +0200
  Re: Iceweasel uses wrong charset Michael Lange <klappnase@freenet.de> - 2016-05-11 11:20 +0200
    Re: Iceweasel uses wrong charset err404@free.fr - 2016-05-11 11:30 +0200
      Re: Iceweasel uses wrong charset Frédéric Marchal <frederic.marchal@wowtechnology.com> - 2016-05-11 12:00 +0200
        Re: Iceweasel uses wrong charset Vincent Lefevre <vincent@vinc17.net> - 2016-05-13 12:10 +0200
    Re: Iceweasel uses wrong charset Rob van der Putten <rob@sput.nl> - 2016-05-11 12:00 +0200
      Re: Iceweasel uses wrong charset <tomas@tuxteam.de> - 2016-05-11 12:20 +0200
        Re: Iceweasel uses wrong charset Rob van der Putten <rob@sput.nl> - 2016-05-11 12:40 +0200
          Re: Iceweasel uses wrong charset <tomas@tuxteam.de> - 2016-05-11 12:50 +0200
            Re: Iceweasel uses wrong charset Rob van der Putten <rob@sput.nl> - 2016-05-11 15:20 +0200
              Re: Iceweasel uses wrong charset <tomas@tuxteam.de> - 2016-05-11 16:30 +0200
                Re: Iceweasel uses wrong charset Michael Lange <klappnase@freenet.de> - 2016-05-11 18:50 +0200
                [partially solved]Re: Iceweasel uses wrong charset Michael Lange <klappnase@freenet.de> - 2016-05-11 19:00 +0200
                Re: [partially solved]Re: Iceweasel uses wrong charset <tomas@tuxteam.de> - 2016-05-12 08:30 +0200
                Re: [partially solved]Re: Iceweasel uses wrong charset Rob van der Putten <rob@sput.nl> - 2016-05-12 18:00 +0200
        Re: Iceweasel uses wrong charset Vincent Lefevre <vincent@vinc17.net> - 2016-05-13 12:20 +0200
      Re: Iceweasel uses wrong charset Richard Owlett <rowlett@cloud85.net> - 2016-05-11 12:30 +0200

csiph-web