durusmail: quixote-users: Unicode? scgi restart?
Unicode? scgi restart?
2003-11-14
2003-11-14
2003-11-14
2003-11-14
2003-11-14
2003-11-14
2003-11-14
Re: Unicode?
2003-11-14
2003-11-14
2003-11-14
2003-11-14
2003-11-14
Unicode? scgi restart?
Skip Montanaro
2003-11-14
    >> Is there a way to get Quixote to "do the right thing" with Unicode?

    Neil> No, not yet. :-(

Got some ideas and/or pointers?  This is important enough to me to spend
some effort on the subject, but I don't yet have any working familiarity
with the Quixote code.

In the best of worlds, I would like to just set

    ENCODING = "utf-8"

in my config file and have Quixote simply handle Unicode automagically.  For
backwards compatibility ENCODING should probably default to "ascii" (or
maybe "iso-8859-1").

Within a specific published object I should be able to also override the
encoding by calling something like

    request.response.set_encoding("cp1252")

I can see pretty much how to do things at the outer layers, but the PTL
stuff seems to be lacking hooks to convey the encoding information down to
places where bald str() calls are performed.

Skip

reply