🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #527

Re: how can I know the data ,inputed from the browser, is ACSII or UTF-8

#527
From: Emmanuel
Date: Wed, 15 Nov 2006 10:38
23 lines
1542 bytes
"Hans Galema" <notused@notused.nl> 
??????:455adef7$1@newsgroups.borland.com...
> Emmanuel wrote:
>
>> I face a problem when I am writing CGI
>
> You could start by telling us if you wrote all CGI yourself or if you
> use components or so.

no  components, just use TWebRequest *Request


>> how can I know the data ,inputed from the browser, is ACSII or UTF-8 ?
> When does that happen? Did the browser user change something?

I don't know the data input format , so I will update wrong data to 
database.
eg: for chinese word "WOOD" in ACSII Code, will show other chinese word in 
UTF-8


> Hans. 
Technical Details
Message-ID: <455aecc5@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <455ad81e@newsgroups.borland.com> <455adef7$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,2450e78125010a95
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Emmanuel" <emmanuel@erphk.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <455ad81e@newsgroups.borland.com> <455adef7$1@newsgroups.borland.com>
Subject: Re: how can I know the data ,inputed from the browser, is ACSII or UTF-8
Date: Wed, 15 Nov 2006 18:38:35 +0800
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 58.61.98.52
Message-ID: <455aecc5@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1163586757 58.61.98.52 (15 Nov 2006 02:32:37 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail