[PD] SQL->Python->puredata (text encode?)
jack at rybn.org
Fri May 9 19:06:15 CEST 2008
Maybe with Python you have something like 'utf8_decode()' (this is
PHP). And then you need to save your Python document with UTF8 encoding.
Then you get all specials caracters like you want.
Le 8 mai 08 à 21:32, ths a écrit :
> Hi List !
> I make a patch how receive text from a python script by OSC (python
> read a DB with MySQLdb). Pd receive text from python but when i put
> special chars (é^ ... etc), it says to me: "Type tag said this arg
> is a string but it's not!"
> PD accept UNICODE, ASCII, ... UTF-8 ?
> I have no ideas where they come from...
> thanks very for your help and your council !
> ps: with object [SHELL], no problemo !!! but i can use it .... i
> put my patch ... but it's very simple but why not ? ;-)
> /// my english is soooo good; i know ! .... but i'm french ;-)
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/
More information about the Pd-list