[Home] [By Thread] [By Date] [Recent Entries]

  • From: Matt Sergeant <matt@s...>
  • To: sudhi <sudhi@p...>
  • Date: Fri, 23 Jun 2000 17:18:58 +0100 (BST)

On Fri, 23 Jun 2000, sudhi wrote:

> Hello All,
> This might be a stupid question, or may be off topic. But its in my
> head, with out any answers. 
> In info, comments are really appreciated.
> 
> I have a database which is Unicode enabled (say oracle). I can store
> unicode data and retrieve unicode data. 
> 
> Now comes  Application, I know Java uses Unicode. So it can handle
> unicode text.
> 
> This is where I am stuck, How do I give Unicode to my application. Does
> all these browsers send characters as unicode. If I have a form how do I
> enter unicode character (say for example chinese, russian etc.). 

If you send out HTML with the header:

Content-Type: text/html; charset=utf-8

Then the edit-boxes will send back utf-8, or at least they should
according the the HTML spec (works on NS 4.5+ and IE5 from my testing).

Alternatively you can set the content-type on the form tag
(encoding="..." tag - see the HTML spec again).

-- 
<Matt/>

Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org | AxKit: http://axkit.org


***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member