Page 1 of 1

Line endings and character encodings

Posted: Fri Jan 06, 2023 7:50 pm
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?

Re: Line endings and character encodings  [SOLVED]

Posted: Fri Jan 06, 2023 11:53 pm
by catphish