OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: A stupid Question

[ Lists Home | Date Index | Thread Index ]
  • From: Matt Sergeant <matt@sergeant.org>
  • To: sudhi <sudhi@planet.net>
  • 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).


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@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS