![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Mar 2006
Posts: 1
Rep Power: 0
![]() |
Illegal character come out
i have create an xml data, but when i update date, some time it will come the illegal character in my display. so how am i need to filter the illegal character. for example use : XMLformat, replace ...?
|
|
|
|
|
|
#2 |
|
Professional Programmer
Join Date: Mar 2005
Location: Glasgow, Scotland
Posts: 317
Rep Power: 4
![]() |
Not sure if this will help (I'm not exactly an XML wizard) but I know that XML parses don't like certain characters in the code and I'm guessing this has something to do with it. What I think will help you is information about entities (I think that's the term); you use sequences of characters starting with an ampersand (&) to stand in for characters that the parser otherwise chokes on. For example, you can use & (including the semicolon (
at the end) to include an ampersand without annoying the parser. I'm not sure what they all are, but a bit of googling should help.
__________________
"I'm not a genius. Why do I have to suffer?" |
|
|
|
|
|
#3 |
|
Hobbyist Programmer
Join Date: Jun 2005
Location: New Mexico
Posts: 228
Rep Power: 4
![]() |
Are you encoding UTF-8?
|
|
|
|
|
|
#4 |
|
Unverified User
Join Date: Aug 2005
Location: none
Posts: 146
Rep Power: 0
![]() |
Huh? Speak English please.
__________________
Warning: My posts may change (dramatically) within the first 15 minutes they're posted. Got 'Nux?—GNU/Linux and other free software support. It's GNU/Linux, not just Linux. |
|
|
|
|
|
#5 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
What if he needs help and is expressing himself in the best English he can muster in order to find it? Please express to us your history as an asset to the forum (in perfect English, of course).
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|