Hello purepear, yesterday on IRC, I wanted to provide you a link about unicode in general (and it's history), but I couldn't get hand on it. But finally:
http://www.joelonsoftware.com/articles/Unicode.html I wonder if this link should be added as a "note" to complement the already great James Gardner's Pylons documentation "Internationalization, Localization and Unicode". if you ever forget the link, google for: stupid programmer unicode And when you'll be a big Unicode fan: http://www.cafepress.com/cp/browse/store/nucleartacos.26746951 :) Regards, -- Alexandre CONRAD purepear wrote: > Yes, i'm new to Pylons and Python, but i wanna learn.. > > My question is: How can i set c.value = "something in UTF-8" in the > controller and then print it in the template, cause i'm getting error > messages. > > I have tmpl_options['myghty.output_encoding'] = 'UTF-8' in > enviroment.py but it doesn't help. > > If I set # coding: UTF-8 at the begining of my template > i am able to output "something in UTF", but i'm not able to <% > c.value %> > > What's the problem... it seems UTF in Python is not so easy and > native... am i wrong ? > > Can someone tell me what do i have to do before begining to code a > website in UTF-8. > > Thanks in advance > > > > > > > --------------------------------------------------------------------------------------------------- > Texte inséré par Platinum 2007: > > S'il s'agit d'un mail indésirable (SPAM), cliquez sur le lien suivant pour > le reclasser : http://127.0.0.1:6083/Panda?ID=pav_27831&SPAM=true > --------------------------------------------------------------------------------------------------- > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
