multiple character encodings in grsec patch
Posted: Tue Nov 17, 2015 3:44 pm
Hello, the grsecurity test patch currently contains two lines with non-ASCII symbols:
This makes some programs have some trouble reading the patch: vim displays "รข<80><93>" instead of the en dash, gedit warns about a character encoding-related problem when opening the patch file, meld automatically uses UTF-16 which results in weird characters, etc. Could you please fix the encoding of grsecurity patch in a later version? For example with:
- The first line of grsecurity/Makefile contains character en dash (U+2013) encoded in UTF-8:
- Code: Select all
# grsecurity \xe2\x80\x93 access control and security hardening for Linux
- The third line of net/netfilter/xt_gradm.c contains character copyright sign (U+A9) encoded in ISO-8859:
- Code: Select all
*\tCopyright \xa9 Zbigniew Krzystolik, 2010
This makes some programs have some trouble reading the patch: vim displays "รข<80><93>" instead of the en dash, gedit warns about a character encoding-related problem when opening the patch file, meld automatically uses UTF-16 which results in weird characters, etc. Could you please fix the encoding of grsecurity patch in a later version? For example with:
- Code: Select all
sed 's/ \xa9/ \xc2\xa9/' -i net/netfilter/xt_gradm.c