Skip to content

Commit

Permalink
Added Unicode support (first supported by OTP R13A).
Browse files Browse the repository at this point in the history
  • Loading branch information
davide committed Apr 3, 2009
1 parent 8e224b4 commit a951d83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sgte_render.erl
Expand Up @@ -122,7 +122,7 @@ render1(Compiled, Data, Attr) ->
%%--------------------------------------------------------------------
to_str(DeepL) ->
ToStr = fun(El) when is_binary(El) ->
binary_to_list(El);
unicode:characters_to_list(El);
(El) ->
El
end,
Expand All @@ -136,7 +136,7 @@ to_str(DeepL) ->
%%--------------------------------------------------------------------
to_bin(DeepL) ->
ToBin = fun(El) when is_list(El) ->
list_to_binary(El);
unicode:characters_to_binary(El);
(El) ->
El
end,
Expand Down

0 comments on commit a951d83

Please sign in to comment.