473,586 Members | 2,718 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1681
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.lan g>

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.c om> 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
2990
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 very funny. eScrew story is so funny that eScrew will have to take break from time to time because eScrew needs some rest from laughing. Oh boy,...
0
1688
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 numbers are defined as numeric in the SqlServer Database and are bound to text boxes in the app. In the dataset xml these numbers are defined as...
5
8793
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 notice that numarray has a chi_square function, but that just gives you random numbers from a chi-squared distribution with a set number of degrees...
53
4321
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 would welcome comments and corrections, and would be happy to contribute some version of this to the Python website if it is of interest. ===
2
2636
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 chi-squared using the arbitrary parameter I have edfined as 'K', problem is I have no idea how to proceed and the book I have doesn't explain it very...
3
1184
by: Julian | last post by:
Hi How do you write powers such as squared or cubed etc in a label? Julian
2
7010
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 numbers are defined as numeric in the SqlServer Database and are bound to text boxes in the app. In the dataset's xml these numbers are defined as...
66
3807
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 Bachelors degree. I know that I can learn more about computer programming if I spent the time over the next 3 years reading books and programming...
3
7206
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 equation from a trendline in excel... If anyone can tell me what this is supposed to mean they can have a cookie* >.>. I know scientific notation, but it...
0
7911
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...
0
8338
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...
1
7954
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...
0
8215
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5710
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5390
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...
0
3836
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2345
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
1
1448
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.