logo       

Re: utf-8 response conversion: msg#00125

Subject: Re: utf-8 response conversion
> I've checked them, but I don't want to integrate them as is, because
> that would break compatibility both with older versions of Squeak and
> with VisualWorks.
>
> Generally, I feel like Seaside should try to be pretty ignorant about
> encoding issues - it should just be expecting to get a MultiString in
> and push a MultiString out, I guess.  The messy business of going back
> and forth to raw bytes should be the job of the underlying platform
> and webserver - or, if (as with Comanche) the webserver doesn't handle
> it properly, it should be done by the webserver's adaptor.
>
> Given all this, I think the best approach would be to create a new
> subclass of WAKom that does the conversions (rather than doing it in
> the base WAKom, and rather than modifying WARequest).  Then people
> running on Squeak 3.8 that wanted to use and see UTF8 data as
> MultiStrings could just choose to start up (eg) WAEncodedKom instead
> of WAKom, and nobody else would be affected.
>
> Sound reasonable?

Yes, it will be definitely the best solution. Now I will look at encoding
problems in Seaside 2.6.



-- Pavel


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe