Thanks guys. You saved my day. Regards Zab On Aug 30, 2012, at 10:21 AM, Michael Uvarov wrote: > is_unicode_valid(Str) -> > Bin = unicode:characters_to_binary(Str), > if is_binary(Bin) -> true; true -> {false, Bin} end. > > Str can be binary or characters. > > -- > Best regards, > Uvarov Michael