Comments (6)
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.
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.
Is it OK if I change encoding to UTF-8 (without BOM)
Can I ask why?
from range-v3.
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.
Thanks for fixing the issue!
from range-v3.
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)
- "ranges::to" failed for template type T with universal construction HOT 2
- warning: out-of-line definition of constexpr static data member is redundant in C++17 and is deprecated [-Wdeprecated]
- cannot create any_view from empty_view
- view chunk can't compile? HOT 1
- Cast issue with GCC12 HOT 2
- Remove duplicate elements from multiple input vectors at the same time
- views::generate doesn't work with views::chunk_by HOT 5
- ranges::to eigen HOT 2
- C++23's range_adaptor_closure equivalent HOT 2
- Security disclosure policy
- Range-v3 fails to compile on the latest MSVC version with Visual Studio 2022
- CMAKE_CXX_STANDARD 20 and RANGES_CXX_STD 17 - does not work HOT 1
- pipe adaptor support for tuple_algorithm.hpp
- Nested `key_type` for lazy set algorithms formatting?
- UB in std::views::split HOT 7
- action::remove not included
- Error when using function return value directly HOT 1
- MSVC warning C4702: unreachable code with NDEBUG
- JVM / Python / OOP like group_by view
- operator = for ranges::views::concat result HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from range-v3.