Giter Club home page Giter Club logo

Comments (6)

morinmorin avatar morinmorin commented on May 31, 2024

Here is a list of files with CRLF line endings.

File # CRLF # LF
boost-build.jam 40 0
Jamfile 18 0
Jamroot 14 0
LICENSE 22 101
doc/std/D4128.md 2031 0
doc/std/header.html 24 0
doc/std/pandoc-template.html 67 0
doc/std/show.cmd 1 0
include/range/v3/view/remove_if.hpp 1 149
test/numeric/CMakeLists.txt 14 0
test/view/CMakeLists.txt 3 71

and

File # CRLF # LF
libs/range/v3/scratch/Jamfile 8 0
libs/range/v3/scratch/range.sln 20 0
libs/range/v3/scratch/range.vcxproj 447 0
libs/range/v3/scratch/range.vcxproj.filters 1175 0

from range-v3.

morinmorin avatar morinmorin commented on May 31, 2024

I also noticed that some files use UTF-8 with BOM.
Is it OK if I change encoding to UTF-8 (without BOM) for files other than libs/range/v3/scratch/*?

Here is a list of files encoded in UTF-8 with BOM.

  • TODO.md
  • doc/index.md
  • doc/std/D4128.md
  • doc/std/header.html

and

  • libs/range/v3/scratch/range.sln
  • libs/range/v3/scratch/range.vcxproj
  • libs/range/v3/scratch/range.vcxproj.filters

from range-v3.

ericniebler avatar ericniebler commented on May 31, 2024

Is it OK if I change encoding to UTF-8 (without BOM)

Can I ask why?

from range-v3.

morinmorin avatar morinmorin commented on May 31, 2024

Is it OK if I change encoding to UTF-8 (without BOM)

Can I ask why?

Because some editors do not work well with UTF-8 with BOM. When I fixed typo, my editor silently removes BOM...

I admit that this is a negligible problem. If you prefer not to change the encoding, that's fine.

from range-v3.

morinmorin avatar morinmorin commented on May 31, 2024

Thanks for fixing the issue!

from range-v3.

ericniebler avatar ericniebler commented on May 31, 2024

Looks like my editor of choice (Visual Studio), really wants there to be a BOM on UTF-8 files. I can remove it, but the next time I open the file, it asks me about the encoding, and then puts the BOM back.

I'm going to close this, but I'll be aware of the BOM issue and if it starts causing problems I'll figure something out.

from range-v3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.