[PD] standard encoding of pd files in each system?

Hans-Christoph Steiner hans at at.or.at
Wed Jan 26 21:06:35 CET 2011


Pd < 0.43 is probably something like ISO-8859-1 or perhaps UTF-8, Pd  
0.43 is UTF-8.  UTF-8 or ISO-8859-1 will both be fully ANSI if only  
the standard ASCII chars are used, i.e. no ü, ã, é, etc.

For converting, I like moocow/any2bytes and moocow/bytes2any.

.hc

On Jan 26, 2011, at 5:17 AM, João Pais wrote:

> Hi,
>
> I was curious to know what is the standard encoding of pd files in  
> each operating system. According to Notepad+, in XP is ANSI.
>
> Or a followup question, which format is better for pd to read a  
> string of characters and convert it to floats? ANSI seems the be  
> most reliable here where it comes to interpreting the data, although  
> utf8 without BOM renders them in the symbol atom more accurately.
>
> The reason I'm asking is because I'm working with converting ascii  
> characters to their float value.
>
> If anyone wants, I can send a small test patch to try out.
>
> João
>
> -- 
> Friedenstr. 58
> 10249 Berlin (Deutschland)
> Tel +49 30 42020091 | Mob +49 162 6843570
> Studio +49 30 69509190
> jmmmpais at googlemail.com | skype: jmmmpjmmmp
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list



----------------------------------------------------------------------------

If you are not part of the solution, you are part of the problem.





More information about the Pd-list mailing list