Degree Symbol in XML
Is there a way to import a degree symbol into a dynamic text
box from an xml file?
Thanks in advance!
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
Similar Messages
-
Import Manager - Convert Degree Symbol in XML
We have a situation whereby in our XML file we use the following code ° to convert to a degree symbol. So, in our XML file it would read 45°
When I import this in Import Manager I get this: 45° Street Elbows
In our Taxonomy we have this: 45º Street Elbows
So, when I Automap there's no matching because the symbols don't match. If you notice carefully, the degree symbols are different.
Does anyone have any suggestions that we can try so the symbols match?
regards,
Orlandoif 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 -
Degree Symbol and Sub-Scripts in XML
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 ° and ° 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?
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 -
Degree symbol conversion export inx
Hi,
A while ago I exported from Indesign cs2 file to inx. (I may have receved an inx file from a client with CS3 but can't remember exactly)
When I opened the inx file again all the degree symbols/glyphs converted to Dgr or something like that.
I can't find the file that did this but I need to find out why it happened.
Has anyone seen something simlar like this when exporting/opening inx files with glyphs in them.
Can you explain why this happens? I need to explain to people to check this hasn't happened but I need to know why it happens in the first place.
Is it an XML Issue when going from CS3 to CS2 or something?
Thanks
cpDo you have the Decimal codes on your site? That is why I pointed to [Link removed by moderator]
Special Characters
Decimal code
auto Page Number
1396797550
next Page Number
1397649518
previous Page Number
1397780590
section Marker
1400073805
bullet Character
1396862068
copy right Symbol
1396929140
degree Symbol
1396991858
ellipsis Character
1397518451
forced Line Break
1397124194
paragraph Symbol
1397776754
registered Trademark
1397904493
section Symbol
1400073811
trademark Symbol
1398041963
right Indent Tab
1397909876
indent Here Tab
1397319796
em Dash
1397058884
en Dash
1397059140
discretionary Hyphen
1396983920
nonbreaking Hyphen
1397645928
end Nested Style
1396855379
double Left Quote
1396984945
double Right Quote
1396986481
single Left Quote
1397967985
single Right Quote
1397969521
em Space
1397058899
en Space
1397059155
flush Space
1397124179
hair Space
1397256787
nonbreaking Space
1397645907
thin Space
1398042195
figure Space
1397122899
punctuation Space
1397780051
column Break
1396927554
frame Break
1397125698
page Break
1397778242
odd Page Break
1397715010
even Page Break
1397059650
footnote Symbol
1399221837 -
Passing Degree Symbols in a Parameter Field
We have a parameter on a crystal report configured to look up data from the database to allow a user to select values.
If someone selects a value that has a degree symbol in it then tries to run the report we get a parameter not valid error.
We see the error when we run the report in Crystal Developer as well.
We are using Crystal XI reporting against an Oracle 10g unicode database. We are using an ODBC connection.
Are we using the right driver for this?Hi Dan Robinson,
As you said, the report parameter is not able to identity / compare Degree symbol with your database field.
If it is a number field then try the follwoing in record selection formula, if not please place your formula to check the syntax.
Totext(DatabaseField} = Totext({?ParameterValue})
Thanks,
Sastry -
Illustrator, PC to Mac, degree symbols
Here is an odd issue. I am receiving files in Illustrator CS3 EPS format. They are being created on Windows PCs. Some of the files have art with degree symbols showing the angles or polygons. The file is then placed in Quark Xpress 6.52. If the EPS file is modified at all, the degree symbol changes and has a line underneath it. Has anyone else had issue taking EPS files from PC to Mac?
LevonI think I've had that happened before.
Just re-create the degree symbol, in CS3, using the "Find and Replace" if there are a lot of them. -
Best way to insert Degree symbol?
Hello,
I have an inspection form set up for restaurant/health inspectors. Often times during an inspection they need to enter temperatures of food and like to use the degree symbol. They're running this form on a convertible tablet pc, so a normal keyboard is not available to them in tablet mode and when in laptop mode using the combination of ALT+0176 that's still a PITA because the keyboard doesn't have full number pad and the people using this form aren't the most computer literate people out there to be able to activate the Function keys to endable number pad keys and then enter an ASCII code many times during an inspection.
I was looking for suggestion on how to inforporate something into the form to assist in entering the degree symbol in any text field they are in at the position of the cursor.
The idea's I've though of are:
1.) A command button that inserts the symbol, but I'm afraid clicking the button would lose focus of the destination field and there'd need to be a lot of scripting to remember which field was the last one they were in to insert it in the correct one.
2.) A Button or On Load event which somehow inserts the degree symbol into the Windows clipboard, but during the course of an inspection they might copy and paste something else thus clearing it out.
3.) Some kind of auto-replace of text. Not sure if that's possible in an adobe form. E.g. if they type 'deg.' have the form auto replace it to '°'.
4.) A special key press. Not sure if Adobe can listen to a special key sequence not used by Adobe and Windows, say CTRL + D which when pressed inserts a degree symbol in the current location.
5.) Any way to place a special icon on Adobe's tool bar to insert the degree symbol at the currently location?
Those were some ideas I'm thinking of. Many are probably dead ends. If you had this problem, how would you approach it?
Thanks!
-MikeMagnus, thanks for not giving up on this yet. In your last post that is making some progress, but there's also some con's too.
1.) That's running off of an 'On Exit' even which inserts the ºF at the end of the text. In some cases that would work, but it others it would not work, like in this text field example of real data: "White fish was a 51°F. *Corrected* Witnessed manager throw away fish."
With your proposed java, that would put the °F at the end of the line when it needs to be in the middle of the line.
2.) Many types of written text can be put in these fields. Not every scenario would involve a temperature, so having it pop up your popupmenu might get in their way when it is not needed.
What I'm thinking needs to be done is to somehow insert the °F exactly wherever the cursor is at the time when it is triggered to do so (how to trigger it?).
OR
On an On Exit event searcingh for and replacing the text they have entered. Perhaps replace ' deg' with '°F' so that if they type:
"White fish was a 51 deg. *Corrected* Witnessed manager throw away fish."
When the On Exit fires it replace deg with °F so that the text field now reads:
"White fish was a 51°F. *Corrected* Witnessed manager throw away fish." -
Degree symbol not displayed properly in Safari 6
I don't know whether this is a font/configuration issue or a bug. If I look at a certain web site, the degree symbol is displayed as a black diamond with a white "?" inside it in Safari 6. It displays properly on the same Mac using Chrome. It displays properly on an iPhone and iPad using iOS5.1. So I suspect this is a Safari 6 issue.
This is not a major problem, just an annoyance. If anyone has an idea for resolution, I'd sure appreciate it.
Thanks.My design view won't display properly in Mozilla or IE. The images show. The CSS (core and flow) are found according to the access logs. But it doesn't display nicely at all. This was an upgrade from 1.5 to 1.6. 1.5 looked fine. My old applications from 1.5 display properly.
-
[solved] How to type a degree symbol?
In Windows, it's Alt+0176. Is there something similar to this that will type a degree symbol?
Last edited by synthead (2008-05-31 07:29:51)Copy and paste from a table on wikipedia.
Here it is:
http://en.wikipedia.org/wiki/Latin-1_Su … code_block
Here is more stuff:
http://en.wikipedia.org/wiki/List_of_Unicode_characters -
How to use Euro symbol in xml tags?
How to use Euro symbol in xml tags?
What do you mean by "in xml tags"? Can you post a three-line XML snippet showing what you hope to achieve?
-
I am trying to follow the directions to add the degree symbol to the toolbar. I need the degree symbol code to enter. Also, there is already a degree symbol in the cmds.cfg and menu.cfg files. Not sure why the symbol does not appear on the drop-down? the /xXX is what I believe I need.
Thanks,
CarlWhen you convert a legacy FM document to FM 8 or later, the conversion is pretty smart. FM will look at the font used for every character (either stylesheet of hardcoded), and the character map used by that font, and will convert that character to the correct unicode character.
I used it to convert some multi-lingual masters (English, Russian, and Chinese mixed, along with dingbat and Symbol) and it converted all document text perfectly, although I had to hardcode the double-byte Chinese text into a Chinese font because the main stylesheet font could only handle English and Russian. It was impressive, and a real time-saver for a 60-manual set. Another remarkable thing is that I could still use the old (non-unicode font) if I wanted, within the limitations of that font of course. In my case, FM8 could still display the converted Russian text correctly using the old non-unicode font! FM will backmap the unicode document characters (which are stored in unicode and stay as unicode) on-the-fly and use the old font to display the characters correctly using the old font. It was very useful and it gave me workable documents for the interim, until I could set up stylesheets that used the new proper unicode fonts that came with FM 8.
However, no conversion is performed on features with "internal" text that has no inherent font format such as cross-reference formats, variables or markers, which is probably just as well because remapping the cross-ref marker text would break the links). You'll have to convert or rebuild those by hand.
I have some related questions. Using \x code to make special characters that you can pick off a menu only works for the "traditional" character slots at position 256 (ff hex) or below. Is there any syntax that works for unicode slot numbers that are higher than 256? I have tried \u and \U followed by the four-digit UTF-8 code but I get nothing.
Also, is it also good practice (or perhaps even absolutely necessary) to read, edit, and save all FM8 and later config files as UTF-8? -
Creating a custom format for angles that adds a degree symbol
I am creating a fillin form. I would like to customize the format of a number field to add a degree symbol to the numbers added by the user. So when the users types in 90 a small elevated circle representing degrees automatically appears after the digits. Can I do this?
OK, probably the easiest way is to take advantage of Acrobat's built-in formatting routines for a number and adapt it to use a degree symbol. In the sample linked to below I created a document-level JavaScript and added the following two functions:
function degreeFormat() {
AFNumber_Format(0, 1, 0, 0, "\u00b0", false);
function degreeKeystroke() {
AFNumber_Keystroke(0, 1, 0, 0, "\u00b0", false);
Which get called from the field's custom Format and Keystroke events, respectively:
// Custom Format script
degreeFormat();
// Custom Keystroke script
degreeKeystroke();
Here's where you can download a sample: https://acrobat.com/#d=t241U3Pj0w0FztiQw5jgSw
This allows decimal entries, but rounds to the nearest whole number for display. If you don't want a user to enter a fractional part, the script is a bit more complicated, but can be done. -
Is there a "shortcut" for the degree symbol or the percent symbol?
Let me know if this helps you.
Special Characters -
How to place a degree symbol in a JLabel
I'm trying to place a degree symbol in a JLabel with the following code
JLabel label = new JLabel ("<html>º</html>");but all I'm getting is the literal, not the degree symbol.It's close enough, but here's what I really have:Turns out it wasn't quite close enough.
The <html> tag has to be the very first thing in the
string.
So, change this to:
final String DEGREE_SYMBOL = "�";
String degrees...
String minutes...
String labelStr = "<html>" + degrees +DEGREE_SYMBOL + minutes + "'";
JLabel label = new JLabel (labelStr);
That got 1 of the 3 instances working, so I'm narrowing it down (thank you). I'll just have to keep plugging until I get it figured out.
thanks for your help. -
How do I extract unicode symbols from xml files. Say, I have text="\u03C3" attribute in the xml file. When I parse it I get the \\u03C3 string. Is there a way to convert it to unicode?
There is something I do not get. Integer.parseInt("03C3") will clearly throw in exception.
OK, I got the idea. Something like
public class Tmp3 {
public static void main(String[] args) {
int base = 16;
System.out.println((char)(charToInt('3') + base*charToInt('C') + base*base*charToInt('3') + base*base*base*charToInt('0')));
static int charToInt(char c) {
switch(c) {
case '0':
return 0;
case '1':
return 1;
case '2':
return 2;
case '3':
return 3;
case '4':
return 4;
case '5':
return 5;
case '6':
return 6;
case '7':
return 7;
case '8':
return 8;
case '9':
return 9;
case 'A':
return 10;
case 'B':
return 11;
case 'C':
return 12;
case 'D':
return 13;
case 'E':
return 14;
case 'F':
return 15;
default:
return -1000000000;
}I wonder is there a shortcut to it.
Edited by: javiator on Jan 16, 2010 8:48 AM
Maybe you are looking for
-
IPhoto cant switch monitor profiles in dual monitor mode
Hi, my problem is that i am using iPhoto 6 (newest version) with the internal screen of my macbook and an external screen. Both are calibrated. Most programms like Photoshop or Capture one or Aperture switch the profiles of the monitors while going f
-
Create auotmatic purchase order for non stock materials
Hi, Please provide me information on how to create automtaic purchase order for non stock materials in MM system. Regards
-
Fake text message hack going around?
A few minutes ago I received, what appears to be, a fake text message. My phone vibrated, I didn't grab for it right away. It vibrated again so I picked up and hit the Home button to turn the screen on. There was a popup that looked mostly like a nor
-
Doubt regarding viewOptions.Process
Hi Everyone, I am trying to call a workflow from a form.I thought of using the viewOptions.process for this. Can the viewOptions.process functionality be used for calling a workflow from any form or is it just for use through Active Sync forms? The c
-
Can anyone tell me what is the best practice values in setting login/password_max_new_valid and login/password_max_reset_valid fields?