I'm not sure what to expect with UTF-8 encoding in Pharo. Can someone point me to some docs or past discussion?

I have tried this today in pharo 1.3:

    1 - in a workspace: cnString := ''.
2 - Now I go to Firefox and copy 4 simplified Chinese characters and try to paste this in between the quotes of the smalltalk string in the workspace.
    3 - the paste operation throws "Error: Invalid utf8 input detected"

The web page I'm copying from is utf-8 encoded. I can copy text from this page and paste into vim or gEdit just fine.
The error is thrown by UTF8TextConvertor>>errorMalformedInput

I would provide a stack trace...but being new to pharo, I'm not sure how to grab such a report without doing a screen capture.

thanks, Jon


Reply via email to