]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/forum/How_to_fix___34__does_not_map_to_Unicode__34___errors__63__.mdwn
Added a comment
[git.ikiwiki.info.git] / doc / forum / How_to_fix___34__does_not_map_to_Unicode__34___errors__63__.mdwn
index b5e8a14dd0826affb5ca9195f0a9f737b7fead74..20a4ad022e7ec09904517921ccb6d4ca01b27177 100644 (file)
@@ -6,3 +6,15 @@ I think it's because some of my files contain non-utf8, non-unicode, or somehow
 
 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]]