Great!  Glad it helped....I am not sure where to begin with the
conversion of language.  I would maybe place that code segment around
the lines where the code receives the title and artist.  Please keep the
forum updated if you figure it out in case others have a similar use
case.



Harryl89 wrote: 
> jep, that with the mac helped.
> 
> I shouldn´t mix SD, Raspy and Edimax, also rebooting my vortexbox could
> be helpful.
> 
> I removed the # in the line described above and entered the MAC shown on
> the picore GUI, renamed from LCD to a other name, reboot picore and
> vortexbox and wow, display works again.
> 
> :rolleyes:
> 
> Now i need a conversion of üöä (instead of the german UMLAUTE, or french
> ´ there are japan/chinese characters)
> 
> I´ve found this but don´t know where in the readsq.py? i should insert
> this:
> 
> 
> def kill_umlauts(message):
> try:
> message = message.encode('utf-8')
> message = message.replace('ä', chr(225))
> message = message.replace('ö', chr(239))
> message = message.replace('ü', chr(245))
> message = message.replace('Ä', chr(225))
> message = message.replace('Ö', chr(239))
> message = message.replace('Ü', chr(245))
> message = message.replace('ß', chr(226))
> message = message.replace('°', chr(223))
> message = message.replace('µ', chr(228))
> message = message.replace('´', chr(96))
> message = message.replace('€', chr(227))
> message = message.replace('–', '-')
> message = message.replace('“', '"')
> message = message.replace('”', '"')
> message = message.replace('„', '"')
> message = message.replace('’', '\'')
> message = message.replace('‘', '\'')
> except:
> return message;
> return message


------------------------------------------------------------------------
dustinsterk's Profile: http://forums.slimdevices.com/member.php?userid=19649
View this thread: http://forums.slimdevices.com/showthread.php?t=101269

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to