Permalink
Browse files

Back to binary_to_list. Unicode breaks rendering in webmachine/mochiweb

Tests still pass.
  • Loading branch information...
1 parent 86b1199 commit 895a6401093bfec72fe454332e102198b990a900 @cstar cstar committed Jun 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/erlydtl_compiler.erl
View
@@ -308,7 +308,7 @@ parse(CheckSum, Data, Context) ->
end.
parse(Data) ->
- case erlydtl_scanner:scan(unicode:characters_to_list(Data)) of
+ case erlydtl_scanner:scan(binary_to_list(Data)) of
{ok, Tokens} ->
erlydtl_parser:parse(Tokens);
Err ->

0 comments on commit 895a640

Please sign in to comment.