Fixed garbled text output
Fixed garbled text output

Garbled text was a real pain. One suggestion was to use UTF-8 to
decode strings returned by libvarnam. Libvarnam uses UTF-8 encoding
to encode return text. This, although useful, wasn't the root cause.
Garbled text kept on changing after each run which pointed to a
memory issue.

Turns out that the returned varray pointer was not
being properly handled. I casted the pointer to appropriate type
and then used it and voila, it works !

Added another test case to check the malayalam output.

sebinthomas/pyvarnam