diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-06-17 15:26:17 +0100 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-06-30 16:38:31 +1000 |
commit | b27d61e4433a2a0140ed8a6128e4427451e37fec (patch) | |
tree | 2e0ab549fa1d8523dc2d3d1f0aaa29389b8413ea /exa/exa_driver.c | |
parent | 2ee85d954c8f3a6affbd9b1b745594ff12e8b670 (diff) |
Fix UTF-8 encoding
Report to find out all non-UTF-8 files created by
cat extensions |xargs -I XXXX find . -name \*.XXXX |while read FILE ; do
if ( iconv -f utf8 -t ucs2 $FILE >/dev/null 2>/dev/null ) ; then
/bin/true
else
echo $FILE
fi
done >>report
Signed-off-by: Matěj Cepl <mcepl@redhat.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
[Daniel: git am failed for me, so I redid it. The method listed in the
commit message also failed, so I just used file/grep/iconv. The
results are the same though.]
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'exa/exa_driver.c')
-rw-r--r-- | exa/exa_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exa/exa_driver.c b/exa/exa_driver.c index b9903d1bc..795cb00cd 100644 --- a/exa/exa_driver.c +++ b/exa/exa_driver.c @@ -1,5 +1,5 @@ /* - * Copyright © 2009 Maarten Maathuis + * Copyright © 2009 Maarten Maathuis * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), |