latin accented text issue

MRTN's icon

I've search in the forum already, but could not really find a solution (or at least to understand a solution). I need to upload in my patch a .txt file, which is display then in a jit.gl.text3d thanks to a jit.textfile. But I have problems in display accented letters, they are substituted by %. Do somebody have idea how could I solve it? The patch is running on a mac mini 10.8, but the text is created in a windows computer.
I guess the problem is not in max but rather ont he text file, but I have really no idea why and how to solve it...

Peter Castine's icon

The problem is probably the text file. But it's hard to know without seeing it.

It would be helpful to have a small patch and a text file demonstrating the problem.

The short answer is that there are many ways of encoding text in the world. About the only thing there is agreement on is the non-accented Latin alphabet, plus digits and a handful of punctuation marks (and even there, there has been disagreement). There is enough standardization now that it ought to be possible to take a text file generated on any computer and operating system and use it on another computer and operating system. But sometimes there needs to be some special handling. Without a concrete example, however, it's impossible to say what that handling needs to be.