473,788 Members | 2,692 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Special Characters show as squares

69 New Member
Hi,

I have the following XML file which looks fine rendered in a browser but when its read by a SWF as a news ticker I get all these weird squares appearing. Any ideas?

Expand|Select|Wrap|Line Numbers
  1. <?xml version="1.0"?>
  2. <ticker>
  3. <topic>
  4. <text><![CDATA[<font size="12px" color="#624A9E"><b>LANSINOH JETZT IN BERLIN </b></font><br /><font size="12px" color="#686868">Die deutsche Niederlassung von Lansinoh Laboratories Inc....</font><br /><font size="12px" color="#624A9E"><b>Read more</b></font>]]></text>
  5. <link>/lansinoh/NewsDetail.php?news_id=9</link>
  6. <targetIsUrl>Y</targetIsUrl>
  7. </topic><topic>
  8. <text><![CDATA[<font size="12px" color="#624A9E"><b>LANSINOH STILLEINLAGEN IN IMMER MEHR DROGERIEN ERHÄLTLICH</b></font><br /><font size="12px" color="#686868">Lansinoh Stilleinlagen sind ab sofort außer in Apotheken...</font><br /><font size="12px" color="#624A9E"><b>Read more</b></font>]]></text>
  9. <link>/lansinoh/NewsDetail.php?news_id=10</link>
  10. <targetIsUrl>Y</targetIsUrl>
  11. </topic><topic>
  12. <text><![CDATA[<font size="12px" color="#624A9E"><b>LANSINOH IST AN IHREN ERFAHRUNGEN INTERESSIERT</b></font><br /><font size="12px" color="#686868">Lansinoh möchte Sie beim Stillen unterstützen. ...</font><br /><font size="12px" color="#624A9E"><b>Read more</b></font>]]></text>
  13. <link>/lansinoh/NewsDetail.php?news_id=11</link>
  14. <targetIsUrl>Y</targetIsUrl>
  15. </topic><topic>
  16. <text><![CDATA[<font size="12px" color="#624A9E"><b>LANSINOH PRODUKTE SIND GARANTIERT BISPHENOL-A FREI</b></font><br /><font size="12px" color="#686868">Viele Eltern machen sich über das Thema Plastik...</font><br /><font size="12px" color="#624A9E"><b>Read more</b></font>]]></text>
  17. <link>/lansinoh/NewsDetail.php?news_id=12</link>
  18. <targetIsUrl>Y</targetIsUrl>
  19. </topic><topic>
  20. <text><![CDATA[<font size="12px" color="#624A9E"><b>LANSINOH BIETET INFO-SETS FÜR APOTHEKEN AN</b></font><br /><font size="12px" color="#686868">Öffentliche Apotheken können ein Informations-Set bei Lansinoh anforde...</font><br /><font size="12px" color="#624A9E"><b>Read more</b></font>]]></text>
  21. <link>/lansinoh/NewsDetail.php?news_id=13</link>
  22. <targetIsUrl>Y</targetIsUrl>
  23. </topic><topic>
  24. <text><![CDATA[<font size="12px" color="#624A9E"><b>NEUES VERPACKUNGSDESIGN FÜR DIE LANSINOH HANDMILCHPUMPE</b></font><br /><font size="12px" color="#686868">Die Lansinoh Handmilchpumpe hat ein neues Verpackungsdesign....</font><br /><font size="12px" color="#624A9E"><b>Read more</b></font>]]></text>
  25. <link>/lansinoh/NewsDetail.php?news_id=14</link>
  26. <targetIsUrl>Y</targetIsUrl>
  27. </topic><topic>
  28. <text><![CDATA[<font size="12px" color="#624A9E"><b>LANSINOH PRODUKTE JETZT AUCH BEI TEGUT...ERHÄLTLICH</b></font><br /><font size="12px" color="#686868">Lansinoh Lanolin Salbe und Lansinoh Stilleinlagen...</font><br /><font size="12px" color="#624A9E"><b>Read more</b></font>]]></text>
  29. <link>/lansinoh/NewsDetail.php?news_id=15</link>
  30. <targetIsUrl>Y</targetIsUrl>
  31. </topic><topic>
  32. <text><![CDATA[<font size="12px" color="#624A9E"><b>NEUE Ü LANOLIN BROSCH ÜREN VON LANSINOH Ü</b></font><br /><font size="12px" color="#686868">Ab sofort gibt es zwei neue Brosch...</font><br /><font size="12px" color="#624A9E"><b>Read more</b></font>]]></text>
  33. <link>/lansinoh/NewsDetail.php?news_id=16</link>
  34. <targetIsUrl>Y</targetIsUrl>
  35. </topic></ticker>
  36.  
Thanks,

Sean
Feb 14 '08 #1
0 2133

Sign in to post your reply or Sign up for a free account.

Similar topics

8
10516
by: Daniel | last post by:
I'm trying to make a site work for japanese characters. It works fine except for the alerts in javascript. The characters are stored in unicode, as this; 'コミック全巻配' Those unicode characters are translated by the browser, but not in the alert.
18
2268
by: John | last post by:
I'm getting ready to revamp my Magic Squares pages, which currently show the magic squares in this form: +---+---+---+---+---+---+---+---+---+---+---+ | 68| 81| 94|107|120| 1 | 14| 27| 40| 53| 66| +---+---+---+---+---+---+---+---+---+---+---+ | 80| 93|106|119| 11| 13| 26| 39| 52| 65| 67| +---+---+---+---+---+---+---+---+---+---+---+ | 92|105|118| 10| 12| 25| 38| 51| 64| 77| 79| +---+---+---+---+---+---+---+---+---+---+---+
8
3713
by: david.lindsay.green | last post by:
Hello all, I am quite new a web scripting and making web pages in general and I have stumbled across a problem I have as yet been unable to solve. I am trying to take the contents of a textarea box and save it to a file. This step is not to hard however the contents of the textarea is mostly latex source so it contains just about every special character you can imagine. My question is this, how do I save an exact copy of the textarea...
10
5882
by: jcsnippets.atspace.com | last post by:
Hi everybody, I'm trying to read a file containing a list of addresses. Most of these addresses are based in Germany, so there are a lot of names which have special characters like München and the ever-present "Straße". The code is as follows: FileStream fs = new FileStream(fi.FullName, FileMode.Open); StreamReader sr = new StreamReader(fs, Encoding.Default);
2
6600
by: FrankvdHorst | last post by:
Hallo, In an application that I'm creating I want to display ☻ and ♥ in a standard textbox. In this message they are displayed correctly. But when I'm programming in Visual Studio my textbox displays a square. How can i solve this minor problem. PS I tried different fonts including Lucinda Console, but i still see squares or pipes like ( | ) Please give me a hint
8
10563
by: eugenio | last post by:
Hi...not sure if this is the right group for this posting, but i'm don't know where else to post. I've got a simple problem...I have a linux box running apache 2.0 and php5. I'm trying to use the mssql functions in php to retreive data from a mssql server 2k. I'm pulling data from the customers table in the northwind db and i'm getting strange characters instead of special characters. Below is a sample output: (where the quotes are i...
7
4922
by: Trac Bannon | last post by:
When I load XML from a file into a dotNet XMLDataDocument, the UTF-8 codes are resolved but the 5 special XML entities are not. How can I force those 5 special character types to be translated?
0
1169
by: CtrlAltDel | last post by:
This isn't a PHP issue per say, but I guess a question to other PHP developers. I've just recently converted everything I got to Unicode UTF-8 which introduced me to the "problems" dealing with characters in the 128-159 range. Typically my users will copy and paste from Microsoft Word into my web forms which introduces characters like the m-dash. Obviously I don't want my webpage to show a bunch of ?'s and squares so I have to deal with...
1
1220
by: Reiiiii | last post by:
Not sure if this fits under this topic, sorry if it does not. Anyways, everytime I try to see special characters such as "♥金沙巧克力專賣 : 我熱愛的馬來西亞"(No clue what it says, my friend gave it to me as an example), it turns up as squares. Is there something I can download to fix this?
0
9656
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10366
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10173
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8993
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4070
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3674
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.