XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old May 25th, 2003, 10:09 AM
pixeljunkie pixeljunkie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Posts: 61 pixeljunkie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Angry XML problem with special characters; HELP!!!

My problem is with XML displaying the character ó; (as well as many other characters that are similar). I put in the code &oacute; but rather than displaying the "ó" it displays the code instead. Does anyone know what I am doing wrong. Thanking in advance, pixelj
__________________
pixeljunkie

Reply With Quote
  #2  
Old May 25th, 2003, 12:04 PM
pixeljunkie pixeljunkie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Posts: 61 pixeljunkie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Talking

echolalia, your a superstar. Cheers for the help, its working fine now.

Pixelj

Reply With Quote
  #3  
Old May 26th, 2003, 01:27 PM
dan_2001 dan_2001 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: Wellingborough, Northants, UK
Posts: 100 dan_2001 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 2 m 2 sec
Reputation Power: 8
Lightbulb And there is another way

Hi,

I work in the localisation industry and we have been using xml more and more through various CBT courses and web based projects. What we have accepted as a standard is to use UTF-8 encoding of xml where we have to use extended characters which lie outside of the general ASCII character set.

Using the UTF-8 encoding allows you to utilise the extended set of characters beyond the 128 ASCII characters. This means that for many languages where accented characters occur, you simply have to 'type' them into your xml document but you need to change the charset to UTF-8:

Code:

<?xml version="1.0" encoding="UTF-8"?>


If you happen to have your xml doc in Word XP for instance, try to save it as plain text, word will then highlight the characters that will be lost... but here you can select the UTF-8 option and it will save correctly. I believe XMLspy has a similar feature...

If you are doing a lot of language stuff then this is the way to go, and saves a lot of time converting extended characters to coding


Hope you find this useful

Dan
__________________
DELETE FROM pay WHERE employee_name ='Dan';

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > XML problem with special characters; HELP!!!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway