help-octave
[Top][All Lists]
Advanced

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

Re: file encodings (was: wrapToPi function)


From: Mike Miller
Subject: Re: file encodings (was: wrapToPi function)
Date: Wed, 9 Dec 2015 11:55:49 -0500
User-agent: Mutt/1.5.24 (2015-08-30)

On Wed, Dec 09, 2015 at 10:20:23 -0500, Nicholas Jankowski wrote:
> On Wed, Dec 9, 2015 at 9:35 AM, Mike Miller <address@hidden> wrote:
> > So does SciTE *not* detect UTF-8 properly if there is no BOM? Because
> > the BOM is typically discouraged, on non-Windows systems at least.
> 
> Apparently not. I forced it to UTF and it displayed fine. According to
> the documentation: "SciTE will automatically detect the encoding
> scheme used for Unicode files that start with a Byte Order Mark
> (BOM)..."  Just to check I resaved his original file with 'UTF8 with
> BOM' selected, and now it detects just fine in both SciTE and Firefox.
> *shrug*

Same *shrug* here. I just know the BOM shows up as garbage in my editor
of choice, and I'll delete it when reviewing files and patches.

> > It's easy enough to run fromdos on my end if I get a patch in CRLF
> > format. Working in LF format should not cause any problems for you (only
> > Notepad has a problem with LF files I think), and will make your work
> > more compatible with the majority of us devs ;)
> 
> Worth changing the default option in the editor for the next build?

A quick search shows me this has already been discussed pretty
thoroughly in bug #43334, it will probably stay a preference as it is
with the default dependent on the OS.

-- 
mike



reply via email to

[Prev in Thread] Current Thread [Next in Thread]