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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Help!!

[ Lists Home | Date Index | Thread Index ]

I think you just need character references
[http://www.w3.org/tr/rec-xml.html#sec-references].

Here is a simple example. If a file test.properties contained:

# definitions
FFE2=¬
FF80=タ
FF93=モ

The Java (untested):

Properties test = new Properties();
test.load(new FileInputStream("test.properties"));
System.out.println(new String(test.getProperty("FFE2"));

emits:

¬

Good luck,

Mike

-----Original Message-----
From: Sidhartha Tripathy [mailto:sidhartha_tripathy@tcscal.co.in]
Sent: Monday, March 10, 2003 9:24 AM
To: xml-dev@lists.xml.org
Subject: [xml-dev] Help!!


Hi
I want to represent some unicode characters taking from a properties file.
the format of unicode character in properties file is like this

\uFFE2
\uFF80
\uFF93

is it possible to represent their actual character using xml and xsl???

Sid


  • References:
    • Help!!
      • From: "Sidhartha Tripathy" <sidhartha_tripathy@tcscal.co.in>



 

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

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