Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@www.apache.org Received: (qmail 45041 invoked from network); 5 Oct 2004 23:15:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 5 Oct 2004 23:15:14 -0000 Received: (qmail 10487 invoked by uid 500); 5 Oct 2004 23:15:13 -0000 Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 10465 invoked by uid 500); 5 Oct 2004 23:15:13 -0000 Mailing-List: contact apreq-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list apreq-dev@httpd.apache.org Received: (qmail 10452 invoked by uid 99); 5 Oct 2004 23:15:13 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [217.115.139.48] (HELO www.2bz.de) (217.115.139.48) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 05 Oct 2004 16:15:12 -0700 Received: from [192.168.1.91] (xdsld175.osnanet.de [212.95.103.175]) by www.2bz.de (Postfix) with ESMTP id DF5E31B44C7; Wed, 6 Oct 2004 01:15:10 +0200 (CEST) In-Reply-To: <416326AF.8040502@stason.org> References: <455F1FE1-1139-11D9-A745-000D9331B488@2bz.de> <87is9p16ht.fsf@gemini.sunstarsys.com> <6E61FA29-16EC-11D9-BC00-000A95B9602E@kineticode.com> <95D96DBE-171F-11D9-9D34-000D9331B488@2bz.de> <416326AF.8040502@stason.org> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <668883A2-1724-11D9-9D34-000D9331B488@2bz.de> Content-Transfer-Encoding: 7bit Cc: Joe Schaefer , apreq-dev@httpd.apache.org, David Wheeler From: Boris Zentner Subject: Re: Apache::Request, APR::Table and UTF8 Date: Wed, 6 Oct 2004 01:15:09 +0200 To: Stas Bekman X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Am 06.10.2004 um 00:56 schrieb Stas Bekman: > Boris Zentner wrote: >> Hi, >> Am 05.10.2004 um 18:34 schrieb David Wheeler: >>> On Oct 5, 2004, at 9:20 AM, Joe Schaefer wrote: >>> >>>> We could use three-bit field for marking the charset: >>>> >>>> 0 - unknown >>>> 1 - ASCII >>>> 2 - UTF-8 >>>> 3 - UTF-16 >>>> [ room for 4 more iso? charsets ] > > So once these flags are there, it's a total user's responsibility to > do the right thing, correct?. I was just wondering whether we should I think, the user can act on the information, but the perlglue in Apache::Request especial any set and get function set or clears the perlutf8 flag. Which is off by default, but if Perl puts something into the table the flag may be set and delivered back by get. In my opinion Apache::Table has to do this, but for my purpose it is enough if Apache::Request do it. For Apache::Table I do not know how to handle the merge compress and overlap functions with different charsets. > do that in the APR::Table instead, if it's going to serve other > purposes. Of course if this is only really important for > Apache::Request, then that's probably the best place to do that. > > Of course users can store the string with the flag by themselves, by > simply storing: "$flag" . "string" and get it back as they have stored > it. > > > -- > __________________________________________________________________ > Stas Bekman JAm_pH ------> Just Another mod_perl Hacker > http://stason.org/ mod_perl Guide ---> http://perl.apache.org > mailto:stas@stason.org http://use.perl.org http://apacheweek.com > http://modperlbook.org http://apache.org http://ticketmaster.com > > -- Boris