-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove latin1 characters from some files
experimenting with .gitattributes some more
- Loading branch information
1 parent
18203cf
commit 528dd4b
Showing
5 changed files
with
60 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
*.[hc] text | ||
*.json text | ||
*.xml text | ||
*.py text | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## Eliminate non-ascii characters from the code | ||
|
||
In Linux, file *.c will output this: | ||
|
||
study.c: C source, ISO-8859 text | ||
summary.c: C source, ISO-8859 text | ||
test_eressea.c: C source, ASCII text | ||
|
||
Let's make all the source files ASCII. In a lot of cases, that means | ||
rewriting German comments to be English, which is also great. | ||
|
||
## remove platform.h, use rtl.h | ||
|
||
In Atlantis, I use a header called rtl.h to polyfill functions like | ||
_strdup and _snprintf. I would like that to be a reusable library that | ||
Eressea can use, and eliminate the hacks in platform.h in favor of | ||
autoconf-style detections done by CMake (already happening for a few | ||
things). | ||
|