UTF-8 encoding for sub and superscript. Are those supported on UTF-8?

Posted on 2014-09-15
Last Modified: 2014-10-01

I have some content sub and superscript that i should put in my xml. Are those supported on UTF-8?

Question by:jazzIIIlove
  • 3
LVL 60

Expert Comment

by:Geert Bormans
ID: 40324761
All unicode charcters can be expressed in a UTF-8 encoding in XML
in that sense UTF-8 is a "complete" encoding for XML
unicode table is here:
If your editor does not support entering UTF-8 straight from the keyboard, you can always use numeric character entities
eg. for unicode codepoint 178 (superscript 2) use

Open in new window

If you do it that way, your character is also safe for encodings that don't support the full unicode
LVL 60

Expert Comment

by:Geert Bormans
ID: 40324763
Where the other characters are in the unicode standard can be found here
LVL 12

Author Comment

ID: 40325295

Thanks for the reply. I checked codepoint 178 in the link, but it was another character. can you attach a screenshot by circling it?

My question also involves superscript of, say, letter k. Is that one there too?

LVL 60

Accepted Solution

Geert Bormans earned 500 total points
ID: 40325351
note that there are two ways of expressing numeric character entities
numeric decimal

Open in new window

or numeric hexadecimal

Open in new window

(note the X after the # for the hex number)
both are the same character only expressed differently
please try to add the 178  numeric entity in a html and check in the browser, you will see I am right, that definitely is superscript 2

Your question did not mention "k" etc. But if you look at the table, you will find at least teh subscripts expressed... hint: you can search the table through the search box using the word "subscript" by example
the subscript "k" is

Open in new window

but that is an more obscure font... in order to visualize it you will need a font with full support of unicode

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
pdf convertor 7 65
Server Error 11 47
URGENT: Need to Import XML file into ACCESS 2013 without using Application.ImportXML function 6 24
read an xml file in perl 2 15
Introduction In my previous article ( I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now