Bug - TextAsset doesn't accept non-English characters

Try to use a TextAsset linked to a file with diacritical characters, e.g. a word like “Entrée”. After using TextAsset.text will return null.
For example:

theData = (TextAsset) Resources.Load("myData");
Debug.Log(theData.text); // Prints nothing until the word "Entrée" is removed from myData.txt.

Any workaround for this?

Hmm, just tried it and no problems here. Make sure you’re using UTF-8 encoding.

–Eric

Oh, you’re right. That worked.

– Brian