Permalink
Browse files

vfs_common: fix character encoding in folders

  • Loading branch information...
jkloetzke committed Jun 5, 2012
1 parent 6e5ef7d commit 8bacd6a0d7243cba1dd71d5c8f6d865445d39e2b
Showing with 2 additions and 1 deletion.
  1. +2 −1 server/apps/peerdrive/src/peerdrive_ifc_vfs_common.erl
@@ -1246,7 +1246,8 @@ folder_read_title(Store, Rev) ->
{ok, Meta} ->
case meta_read_entry(Meta, [<<"org.peerdrive.annotation">>, <<"title">>]) of
{ok, Title} when is_binary(Title) ->
- unicode:characters_to_binary(sanitize(binary_to_list(Title)));
+ unicode:characters_to_binary(sanitize(
+ unicode:characters_to_list(Title)));
{ok, _} ->
<<"">>;
error ->

0 comments on commit 8bacd6a

Please sign in to comment.