Skip to main content
Cardinal Color
Participant
June 15, 2010
Answered

Degree Symbol and Sub-Scripts in XML

  • June 15, 2010
  • 1 reply
  • 3364 views

I'm more of a designer and really don't know that much about code. I know just enough XML to use it in InDesign, the thing is I am having trouble finding a way to use the degree symbol and sub-scripts in the XML data I import into InDesign. The HTML codes like &deg and &#176 don't work, InDesign tells me that they are "not well formed". I'm using UTF-8. Is there another encoding I could use that allows me to use symbols and subscripts?

This topic has been closed for replies.
Correct answer grefel

if you use utf-8 simply but the real character into the data.

named character entities such as

° 

has to be declared in your dtd.

with character entities such as

° or °

are working fine.

regards,

gregor

1 reply

grefel
Community Expert
grefelCommunity ExpertCorrect answer
Community Expert
June 15, 2010

if you use utf-8 simply but the real character into the data.

named character entities such as

° 

has to be declared in your dtd.

with character entities such as

° or °

are working fine.

regards,

gregor

Josh At
Participant
February 19, 2013

I found this reference for UTF characters that may be of use to anyone else who comes across this (as I did today):

http://www.utf8-chartable.de/unicode-utf8-table.pl