Hi, Im a bit confused by the texfile object. When I read from a
textfile, characters outside the ascii standard seems not to be
supported (replaced by the square). But I can write a textfile, or at
least send those characters outside of ascii standard to the text
object. And here is the strangeness, the written text file contains
totally messed up character maps (ç is placed as Á etc.). Any reason
for this?
Id really appreciate someone to explain. Im doing this project
visualising lots of names, from different nations, spanish, chech,
french. Characters outside the English alphabet. Im reading this from
a .csv file and as you can understand, I will need to format it in a
way that lets it enter into PD.
Kind of stuck with this problem.
Thanks, Timon.
timon wrote:
Hi, Im a bit confused by the texfile object. When I read from a textfile, characters outside the ascii standard seems not to be supported (replaced by the square). But I can write a textfile, or at least send those characters outside of ascii standard to the text object. And here is the strangeness, the written text file contains totally messed up character maps (ç is placed as à etc.). Any reason for this?
This sounds like Pd is writing files as utf-8 while your editor uses some other character encoding like iso-8859-1.
"Prisons are needed only to provide the illusion that courts and police are effective. They're a kind of job insurance." (Leto II. in: Frank Herbert, God Emperor of Dune) http://thomas.dergrossebruder.org/
THANK YOU!
I can generate and save my file from textedit (OSX) as UTF-8. Now it
loads like a dream, all characters in place.
Timon.
On 28 Oct 2006, at 15:24, Thomas Mayer wrote:
timon wrote:
Hi, Im a bit confused by the texfile object. When I read from a textfile, characters outside the ascii standard seems not to be supported (replaced by the square). But I can write a textfile, or at least send those characters outside of ascii standard to the text object. And here is the strangeness, the written text file contains totally messed up character maps (ç is placed as Á etc.). Any
reason for this?This sounds like Pd is writing files as utf-8 while your editor uses some other character encoding like iso-8859-1.
cu Thomas
"Prisons are needed only to provide the illusion that courts and
police are effective. They're a kind of job insurance." (Leto II. in: Frank Herbert, God Emperor of Dune) http://thomas.dergrossebruder.org/