473,322 Members | 1,480 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Scientific Symbols Such as Degree and Squared in XML

Is it possible to have scientific symbols (e.g. degree, squared, cubed,
etc.) in XML docs if the UTF-8 encoding is specified? Is there a
limitation?

Thanks.

-ak

Nov 9 '05 #1
5 1669
On 9 Nov 2005, Ayron wrote:
Is it possible to have scientific symbols (e.g. degree, squared, cubed,
etc.) in XML docs if the UTF-8 encoding is specified?
Yes.
Is there a limitation?


Symbols of profanity are not allowed in the United States.

--
Netscape 3.04 does everything I need, and it's utterly reliable.
Why should I switch? Peter T. Daniels in <news:sci.lang>

Nov 9 '05 #2
Andreas Prilop wrote:
On 9 Nov 2005, Ayron wrote:
Is it possible to have scientific symbols (e.g. degree, squared,
cubed, etc.) in XML docs if the UTF-8 encoding is specified?


Yes.
Is there a limitation?


Symbols of profanity are not allowed in the United States.


When did they get added to Unicode? :-)

///Peter
Nov 10 '05 #3
On Thu, 10 Nov 2005, Peter Flynn wrote:
Andreas Prilop wrote:
Symbols of profanity are not allowed in the United States.


When did they get added to Unicode? :-)




SCNR.
Nov 10 '05 #4
"Ayron" <ak******@lrs.com> wrote:
Is it possible to have scientific symbols (e.g. degree, squared, cubed,
etc.) in XML docs if the UTF-8 encoding is specified?


Certainly. UTF-8 is capable of representing all characters defined in Unicode
(and, actually, more - you could use Private Use codepoints for your own
characters, though you most probably don't need that).

In addition, you can use character references, irrespectively of the
encoding. Such as ° or (equivalently) &#b0; for the degree sign.
You don't normally need them, if you can use a UTF-8 capable editor or
another program that can generate UTF-8 encoded XML documents for you.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Nov 23 '05 #5
Jukka K. Korpela wrote:
In addition, you can use character references, irrespectively of the
encoding. Such as ° or (equivalently) &#b0; for the degree sign.


The hex number must be prefixed by 'x': &#xb0;
--
Johannes Koch
Spem in alium nunquam habui praeter in te, Deus Israel.
(Thomas Tallis, 40-part motet)
Nov 23 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: eScrewDotCom | last post by:
www.eScrew.com eScrew Welcome to eScrew! eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew story if you promise eScrew to consider eScrew story as joke. eScrew story is...
0
by: Greg | last post by:
I am working on an application that requires working with numbers in scientific notation. I am using SqlServer as the database and I have created strongly typed data adapters and datasets. The...
5
by: Matthew Vernon | last post by:
Hi, I'd like to be able to use the chi-squared test in my code. Currently, I can output "look up in a chi-squared table with degrees of freedom", but that's obviously a little sub-optimal. I...
53
by: Michael Tobis | last post by:
Someone asked me to write a brief essay regarding the value-add proposition for Python in the Fortran community. Slightly modified to remove a few climatology-related specifics, here it is. I...
2
by: Pixie Songbook | last post by:
Hi, I have a progarm which models some data I'm working with using a gaussian profile and then calculates chi-squared in order to compare the gaussian values to the real thing. I want to minimise...
3
by: Julian | last post by:
Hi How do you write powers such as squared or cubed etc in a label? Julian
2
by: Greg | last post by:
I am working on an application that requires working with numbers in scientific notation. I am using SqlServer as the database and I have created strongly typed data adapters and datasets. The...
66
by: stryfedll | last post by:
Sorry this isn't directly concerning a programming language but I wanted to reach real programmers. I am in college right now and am not really interested in investing 3 more years of my life for a...
3
by: themadjester | last post by:
http://www.themadjester.com/images/excellesigh.GIF (hover cursor over box to see image of formula that cannot be copied correctly from excel (rabble rabble rabble)) So I made a 6th degree...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.