diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-05-19 13:06:35 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-05-19 13:06:35 -0400 |
commit | 53b1c6f559c1d09fbdbc28c8e4d5090dd455cd26 (patch) | |
tree | d379bb0acd2dd3e9370c37b27f03989398694977 /doc/forum/How_to_fix___34__does_not_map_to_Unicode__34___errors__63__.mdwn | |
parent | 18695056917a2f34a36e5e89df7f01deff9ab640 (diff) | |
parent | 4558457402a4ab6bc795589a2e400fa66144f76e (diff) |
Merge commit 'intrigeri/po' into po
Diffstat (limited to 'doc/forum/How_to_fix___34__does_not_map_to_Unicode__34___errors__63__.mdwn')
-rw-r--r-- | doc/forum/How_to_fix___34__does_not_map_to_Unicode__34___errors__63__.mdwn | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/forum/How_to_fix___34__does_not_map_to_Unicode__34___errors__63__.mdwn b/doc/forum/How_to_fix___34__does_not_map_to_Unicode__34___errors__63__.mdwn new file mode 100644 index 000000000..0b3895357 --- /dev/null +++ b/doc/forum/How_to_fix___34__does_not_map_to_Unicode__34___errors__63__.mdwn @@ -0,0 +1,20 @@ +I'm getting a number of errors like this when running ikiwiki: + + utf8 "\xA2" does not map to Unicode at /usr/local/share/perl/5.10.0/IkiWiki.pm line 739, <$in> chunk 1. + +I think it's because some of my files contain non-utf8, non-unicode, or somehow bad characters in them, probably fancy quotes and the like that have been copy-and-pasted from my web browser. The problem is that I have hundreds of files, I transferred them all over from pyblosxom to ikiwiki at once, and the error message doesn't tell me which file the error comes from. How can I fix this? + +Thanks +-- seanh + +> Unfortunatly, these messages are logged by perl so there's no way to add +> a filename to them. +> +> If you run the build in --verbose mode, you should see which page ikiwiki +> is working on, and unless it inlines some other page, you can be pretty +> sure that page contains invalid utf-8 if the message is then printed. +> +> Another option is to use the `isutf8` program from +> moreutils](http://kitenet.net/~joey/code/moreutils/), +> and run it on each file, it will tell you the line number +> and character position that is invalid. --[[Joey]] |