XML encoding

XML encoding

Post by martin schere » Thu, 01 Aug 2002 16:40:30



i would like to use norwegian encoding, f.ex:
<?xml version="1.0" encoding="ISO-8859-1" ?>

But only in certain areas in the xml document...is this possible at all?

-memo

 
 
 

XML encoding

Post by Steve Slatche » Thu, 01 Aug 2002 17:24:39



> i would like to use norwegian encoding, f.ex:
> <?xml version="1.0" encoding="ISO-8859-1" ?>

> But only in certain areas in the xml document...is this possible at
> all?

ISO-8859-1 covers most, if not all, Western European language characters.
Do you really need another encoding for the rest of your document?

If you do, you can use different encodings in different external parsed
entities.  That will probably mean in practice different files, one for
each encoding, but you can incorporate these files into one document.

Alternatively, you could of course encode any character (including
Norwegian even!) in UTF8.  Might be a bit fiddly initally, but once you
have got a system set up it will handle anything.

Steve Slatcher

 
 
 

1. XML encoding type for RTF data (ANSI encoding)

Dear all,

     We are doing an application which involves RTF data being transferred
to and from XML.That is i export the RTF data as  XML dom elements text and
viceversa. When we are reading back the DomElements text, NEWLINE [ chr(13)
+ chr(10) ] charecter in RTF are getting converted to UTF-8  Newline
 chr(10) ]. coz of this RTF is not interpretted properly.

When we paste a Image in RTF and export to XML, we cannot get back the
formated RTF as RTF control does not recognise other than ANSI encoding. As
a temporary solution we are finding the newline charcter[ chr(10) ]  to
replacing with ANSI newline [ chr(13) + chr(10)]. But if you could suggest a
way to incorporate ANSI encoding it could solve it easily.

Please respond back

Regards,
         Anil Kumar and Raja Ramesh

2. strange linkage problems for BerkDB in Linux

3. How can I get the ouput encoding from the xml encoding

4. Power computer on batteries

5. Please educate me regarding to XML encoding and XML parser

6. Job Openings

7. xml to html using xsl: How to preserve xml encoding ?

8. Writing a Network Application

9. XML encoding with ADO recordset XML

10. XML Encoding : What Scheme To Use For German Characters?

11. XML encoding question

12. Apache SOAP Literal XML Encoding

13. XML encoding