« Dynamically upgrade LiveCD packages | Home | Installing sound drivers for VirtualBox sound in Windows 7 »
Using (X)HTML entities in plain XML files
By admin | July 14, 2009
Update (2009-07-28): Here is a place that you can find accents for English characters.
If you try to use non-ASCII characters (e.g. accents) in directly in a Windows-1252 (ISO-8859-1) encoded web page directly without converting/transforming them into an entity, the web browser may get confused when the header of the web page is sent wrong or is misunderstood, resulting in garbled accents and even possibly mojibake.
The correct way to embed those into a web page are to use the corresponding (X)HTML entities such as ê for the ê accent. But if you try to load a string from a XML file into a web page (as many PHP scripts do nowadays), you will encounter a nasty error informing you that the entity was not defined (e.g. parser error : Entity ‘eacute’ not defined). To remedy this, in the XML file instead of the direct entity replace the ampersand (&) in the entity with its entity version. This may sound confusing at first but after a while it starts to make sense.
- XML file display = ê
- HTML source display = ê
- Browser display = ê
If you found this article helpful or useful, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful or interesting articles!
If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!
Topics: (X)HTML | 9 Comments »

July 28th, 2009 at 21:31
thanks alot it’s very helpful!
July 3rd, 2026 at 10:55
My heart aches for her everyday.
Feel free to surf to my web-site … African grey parrot offers
July 6th, 2026 at 19:58
ขอบคุณสำหรับบทความดี ๆ ครับ ถ้าใครกำลังมองหาร้านจัดดอกไม้งานศพ ผมแนะนำลองดูร้านที่มีผลงานจริงและรีวิวดี ๆ ครับ
Also visit my homepage: Aorest
July 6th, 2026 at 20:44
ขอบคุณสำหรับบทความดี
ๆ ครับ ถ้าใครกำลังมองหาบริการจัดดอกไม้งานศพ ผมแนะนำลองดูร้านที่มีผลงานจริงและรีวิวดี ๆ ครับ
my page :: Aorest
July 6th, 2026 at 23:02
ขอบคุณสำหรับบทความดี ๆ ครับ ถ้าใครกำลังมองหาร้านจัดดอกไม้งานศพ ผมแนะนำลองดูร้านที่มีผลงานจริงและรีวิวดี ๆ ครับ
Stop bby my page พวงหรีด กรุงเทพ
July 7th, 2026 at 01:04
ขอบคุณสำหรับบทความดี ๆ
ครับ ถ้าใครกำลังมองหาร้านจัดดอกไม้งานศพผมแนะนำลองดูร้านที่มีผลงานจริงและรีวิวดี
ๆ ครับ
my page: Aorest
July 7th, 2026 at 04:50
อ่านแล้วเข้าใจเรื่องการเลือกดอกไม้แสดงความอาลัยได้ดีขึ้น
การรู้ว่าดอกไม้แต่ละชนิดมีความหมายอย่างไร ช่วยให้เลือกได้ตรงความรู้สึกมากขึ้น
จะบอกต่อให้เพื่อนๆ ที่ต้องการเลือกดอกไม้ไปงานศพอ่านด้วย
Also visit my web blog: ร้านพวงหรีด
July 7th, 2026 at 05:16
บทความนี้เกี่ยวกับการจัดดอกไม้งานศพ ยอดเยี่ยมมาก
กำลังค้นหาข้อมูลเรื่องนี้อยู่พอดี ถือว่าเจอบทความดีๆ เลย
จะบอกต่อให้เพื่อนๆ ที่ต้องการเลือกดอกไม้ไปงานศพอ่านด้วย
Lookk into my page … ดอกไม้แสดงความเสียใจ
July 7th, 2026 at 19:35
อ่านแล้วเข้าใจเรื่องการเลือกดอกไม้แสดงความอาลัยได้ดีขึ้น
โดยส่วนตัวเพิ่งเจอเหตุการณ์สูญเสีย การเลือกดอกไม้งานศพเลยเป็นเรื่องที่ต้องใส่ใจ
จะเก็บข้อมูลนี้ไว้ใช้แน่นอน ขอบคุณอีกครั้งครับ/ค่ะ
Feel free to surf to my website – ร้านดอกไม้งานศพ