Line endings and character encodings  [SOLVED]

Post Reply
User avatar
catphish
Posts: 954
Joined: Fri Oct 08, 2021 11:02 pm
Location: Dorset, UK
Has thanked: 93 times
Been thanked: 179 times

Line endings and character encodings

Post by catphish »

I just attempted to modify a couple of files in stm32-sine and it seems my text editor is very confused by the format of the file.
1) There seems to be a mixture of Windows (\r\n) and UNIX (\n) line endings, even within the same file.
2) There are some non-ASCII characters, for example in people's names in copyright messages, and the mu in microseconds in comments but there are not UTF-8.

I will try to create a pull request to standardize line endings to UNIX and if possible I will convert all everything to UTF-8, unless there is some other file format people prefer?
User avatar
catphish
Posts: 954
Joined: Fri Oct 08, 2021 11:02 pm
Location: Dorset, UK
Has thanked: 93 times
Been thanked: 179 times

Re: Line endings and character encodings  [SOLVED]

Post by catphish »

Post Reply