Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added Unicode support (first supported by OTP R13A).

  • Loading branch information...
commit a951d83aaf0a8c57c593b14d5b06224fb20a00b9 1 parent 8e224b4
@davide davide authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/sgte_render.erl
View
4 src/sgte_render.erl
@@ -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,
@@ -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,
Please sign in to comment.
Something went wrong with that request. Please try again.