durusmail: quixote-users: String Encoding in Quixote
String Encoding in Quixote
String Encoding in Quixote
Nathan R. Yergler
2003-10-22
I'm working on an application that needs to be able to encode strings in
a user-defined encoding.  In the plain-jane CGI proof of concept I did,
I just used something like:

print "foo".encode(encoding)

where encoding is a string like "UTF-8", etc.  Is there any way to
accomplish this in Quixote, say from a page template?  It's acceptable
to encode the results of an entire "page"/function/etc in the same
encoding, just not the default.  Ideas?

Nathan R. Yergler



reply