694fc92 would break my templates (with a ™ in them) with
I've tracked down the problem to unicode:characters_to_list. Put it back to binary_to_list, and it worked again.
Also added is an additional test, just to actually make sure I'm fixing something.
This fix is certainly not the best one, but it does fix my problem.
Back to binary_to_list. Unicode breaks rendering in webmachine/mochiweb
Tests still pass.
Test with extended character
Thanks. One day it would be nice to do string encodings right, but for now I'll revert to the old behavior.