Re: Htmltext and latin-1 characters

"Mike Orr" <[email protected]>
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
On 5/10/06, David Binger <[email protected]> wrote:
>
> On May 10, 2006, at 5:15 PM, Mike Orr wrote:
>
> > Darn it, why didn't htmltext subclass str!!!  Peeking into the
> > htmltext implementation, it stores the actual value in an attribute
> > ...s:
>
> Have you looked at QPY?
> It is essentially PTL, except that the htmltext class,
> called "h8" in QPY, *is* a subclass of unicode.
> That's the main reason QPY exists.

I've looked at QPY but haven't used it much, mainly because I thought
you said it wasn't a good idea to mix PTL and QPY in the same program,
and Quixote uses
htmltext internally.  One of my goals for my Quixote refactoring
(which I haven't made any headway in; been working on SQL import
stuff) was to make a Quixote that use QPY instead of htmltext/PTL, but
that's not done yet.

I started wrote the program in PTL like my previous one, then my
project manager said he really wanted to be able to tweak the HTML and
preview it in a browser, so I switched to Cheetah, and just converted
the last PTL template last week.  But I have a library of small HTML
functions that still uses PTL.

-- 
Mike Orr <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.