OMBPLUS - Embedding special characters
I'd like to include quotes in a filter condition being set via an OMBPLUS script.
e.g.
OMBALTER MAPPING '$mapping_name' \
MODIFY OPERATOR 'FILTER' SET PROPERTIES (FILTER_CONDITION) \
VALUES ('INOUTGRP1.FEEDER_SOURCE_SYSTEM <> 'RMP'')
I've tried putting \ in front of the quotes (\'RMP\') and enclosing in {} but neither seems to work.
Any suggestions?
try to use something like this:
set fltr [OMBToSettableString "'AAA'"];
OMBALTER MAPPING '$mapping_name' \
MODIFY OPERATOR 'FILTER' SET PROPERTIES (FILTER_CONDITION) \
VALUES ($fltr)
Similar Messages
-
Links with special characters work on the web, but are broken in RSS feed
Hi everyone,
I've been searching the forum, but haven't found anything relevant.
Here is my problem. Most embedded links on my blog posts work fine. However, sometimes I use links with embedded special characters. Here's an example link to a YouTube video:
http://www.youtube.com/watch?v=ugiY9t6fzo4
When I go to my blog on the web and click on the link, the link works fine. BUT, when I look at my RSS feed from the blog, the link gets transformed into:
http://www.youtube.com/watch%253Fv%253DugiY9t6fzo4
... which doesn't work.
Something (I presume iWeb?) replaces the "?v=" with "%253Fv%253D"
Obviously, I get a lot of e-mail from my RSS subscribers telling me about broken links.
What can I do? Does anyone else have this issue?I followed the topic concerning the Firefox photoalbum problem but I´m using Safari and the albums will not show up on the web !!!! I also exchanged the detailview and headercontrol *js which worked fine for opening the photoalbum on my harddisk with firefox. But when its uploaded to the server it won´t display and that in Safari!!!! On the published folder on my harddisk everything works fine
www.voyage64.com
just cklick on "photoalben" no album apears. Does anyone have the same problem with safari ???
regards,
David -
Embedded font has extra space after special characters
I've built a web-based Flash movie for a major client. The SWF uses an embedded font and loads text from an XML document. The client is localizing it for several languages, which of course include special characters. In this case, the å character is giving us problems -- it always renders with an extra space after it. For example, the Danish word spørgsmål is rendered as spørgsmå l.
I might be inclined to think something's wrong with the font, because it doesn't happen with other fonts. However, some Googling turned up several other cases of people with similar problems using different fonts.
When I remove the font embedding, the problem disappears. I can watch it do this right in the IDE. As soon as I embed characters again, the phantom space returns. And it doesn't happen in any other applications.
I've spent many hours trying all kinds workarounds, but I've come up with nothing so far. As I said, I've found several other mentions of this problem but the only solution I've seen is "use a different font." In this case I can't -- it's a corporate identity font that's required for this project!
If it makes any difference, I'm linking the font in the library, then specifying the embedded characters for the text fields. I also have text fields created entirely in Actionscript (AS3) that behave exactly the same way.
Please tell me there's a solution to this! I'm pretty positive this is a Flash bug at this point, though I'd be happy if someone proved me wrong.Hi,
I read the following on another discussion in this forum:
it appears that with the shortkey ctrl+shift+Y you can force the pc to work around the system fonts
Maybe that helps.
Jenny -
Apply embedded fonts to special characters in spark textArea using tlf
By setting fontfamily directly to textarea in mxml fonts get applied to special characters. But using tlf and setting fontfamily it does not apply.
style.css ::
@font-face
src: URL("/Assets/Fonts/GandhariUnicode-Bold.otf");
fontFamily: "GandhariUnicode-Bold";
embedAsCFF: true;
snippet of source code ::
textArea.textFlow.interactionManager.selectRange(beginIndex, endIndex);
var textLayoutFormat:TextLayoutFormat = getTextLayoutFormat();
textLayoutFormat.fontLookup = FontLookup.EMBEDDED_CFF;
textLayoutFormat.fontFamily ="GandhariUnicode-Bold";
textLayoutFormat.renderingMode = RenderingMode.CFF;Please try the code as follows.
(1)
[Embed(mimeType="application/x-font", exportSymbol="GandhariUnicode-Bold", embedAsCFF="true", fontWeight="bold", source="Assets/Fonts/GandhariUnicode-Bold.otf", fontName="gandhariUnicode-Bold")]
var GandhariUnicode-Bold:Class;
var textLayoutFormat:TextLayoutFormat = new TextLayoutFormat();
textLayoutFormat.fontLookup = FontLookup.EMBEDDED_CFF;
textLayoutFormat.fontFamily ="gandhariUnicode-Bold";
textLayoutFormat.renderingMode = RenderingMode.CFF;
textArea.textFlow.hostFormat = textLayoutFormat;
textArea.textFlow.flowComposer.updateAllControllers();
Or (2)
[Embed(mimeType="application/x-font", exportSymbol="GandhariUnicode-Bold", embedAsCFF="true", fontWeight="bold", source="Assets/Fonts/GandhariUnicode-Bold.otf", fontName="gandhariUnicode-Bold")]
var GandhariUnicode-Bold:Class;
textArea.textFlow.fontLookup = FontLookup.EMBEDDED_CFF;
textArea.textFlow.fontFamily ="gandhariUnicode-Bold";
textArea.textFlow.renderingMode = RenderingMode.CFF;
textArea.textFlow.flowComposer.updateAllControllers(); -
How to show Special Characters like (∠) in an Embedded text field
I want to show some special characters like (∠). It is working fine if we don't embed the text field. But I want to use superscript and subscript font, so I have to embed that dynamic text field. When I embedd the texfield it does not show me the (∠) symbol. Instead it shows me a square symbol. Please let me know how can I solve this problem. My project is nearly finish except for this part.
Thanks in advance
SalimYes, I know we need to include the symbols. But I am unable to include it. Whenever I click on embed option and paste the symbol (∠) in the include these characters box, it appears as a square symbol. This is driving me nuts.
I even tried to embed All (54665 glyphs). But this is not working either.
Has anyone faced this problem before? -
Special characters in XML document
I have a Flash file saved as version 8 with the following script calling an xml file:
//init TextArea component
myText.html = true;
myText.wordWrap = false;
myText.multiline = false;
myText.label.condenseWhite=true;
//load in XML
xml = new XML();
xml.ignoreWhite = true;
xml.onLoad = function(success){
if(success){
myText.text = xml;
xml.load("titletext.xml");
My xml file contains the following:
<?xml version="1.0" encoding="iso-8859-1"?>
<![CDATA[Smith's dog & cat are "crazy"]]>
When posted online my flash file displays the encoding tag in the xml file.
AND the apostrophe, ampersand and quote marks display as html code instead of the actual character.
I can take the encoding tag out of the xml file but my characters still don't display correctly.
My dynamic text field in flash (myText) does have special characters embedded, plus I have them entered manually in the field for 'include these characters'.
Does anyone have suggestions for me?
You can view this test file at http://wilddezign.com/preshomes_name2.html
TIAPerhaps you need a slightly different approach to loading the XML. Instead of loading the entire XML file, what if you loaded only the child you were looking for? This is what I usually do:
var xml:XML = new XML();
xml.ignoreWhite = true;
xml.load("some.xml");
xml.onLoad = parse;
function parse(success){
if (success){
root = xml.firstChild;
_global.numberItems = root.attributes.items;
itemNode = root.firstChild;
var i:Number = 0;
while(itemNode != null){
myText.text = itemNode.attributes.description;
itemNode = itemNode.nextSibling;
i++;
else {
trace("XML Bad!!");
And your XML would be structured like this:
<?xml version="1.0" encoding="utf-8"?>
<sample>
<item description="This is the text that I want to appear on this MC!" />
</sample> -
I am using Illustrator to design a PDF. Because it's in Spanish, accent marks and other special characters are needed (á, ñ).
When I export the PDF from the ai file and view it on my mac it looks fine. However, when I open it on a pc some of the special characters are completely missing.
I tried Creating Outlines with the text, although it will make it harder to update in the future and so less preferable to leaving the text editable. Creating Outlines works fine on the mac, however on the pc the L's appear thicker than they actually are.
Does anyone know how to make special characters legible cross-platform when creating a PDF using Illustrator?
Thanks!!Does anyone know how to make special characters legible cross-platform when creating a PDF using Illustrator?
Yes. You use a correct OpenType font that has the glyphs in the place where they belong and can be embedded without limitations. Older TrueType or PostScript fonts are simply unsuitable as are fonts that cannot be emebdded and require to be installed locally. It all comes down to system language settings vs. the unified environment inside acrobat. This also requires any PDF to be created on systems with the language settings correct in the first place, i.e. creating Spanish text with a Japanese version of AI would be pretty desastrous due to how foreign language fonts are accessed... check these things and then try again. If possible, enforce embedding of the full font in the PDF settings, not just a subset and choose a suitable font.
Mylenium -
Problem with special characters loaded from XML
I have an XML whose elements contain special characters (for example: ñ, Ñ, á, Á, etc..), When I load the XML and make a Trace () the loaded element, I see that it is loaded correctly, but then in the text field is not special characters. For example in the XML I have the text Baños, but in the text field shown Baos.
It is clear that in the text field are incorporated upper case, lower case, numerals, punctuation symbols and Basic Latin.
I also tested with the judgment System.useCodePage = true in the code but does not work.
Thanks for any help you can give me.
Garchabig.
PD: Sorry for poor English, I'm Latino. -Hi, before reading your answer I tried embedding all characters and surprise surprise, it worked!
So then I was testing with embedded characters to see what was the need to display special characters (like "ñ", "í", etc..) and discovered that it has to be built or yes is Latin I (194/388 glyphs).
Thank you very much also for the answer.
Greetings, Garchabig. - -
How to replace XML special characters using Xpress e.g. ' = '
Hellos
I need to write some XML built from resource data.
The resource data strings can contain anything e.g. & ' " < and > characters.
How do I replace these characters with the strings & ' " etc.... from within Xpress?
I try something like:-
<set name='testchar'>
<switch>
<ref>thisLetter</ref>
<case>
<s>'</s>
<s>'</s>
</case>
<case>
<s>"</s>
<s>"</s>
</case>
<case default='true'>
<ref>thisLetter</ref>
</case>
</switch>
</set>
But when saved the <s>'</s> gets saved as <s>'</s>
Is this impossible with Xpress forcing me to invoke my own Java class? (which is a pain to do because of internal politics re restarting of App Server).Hmmmm seems there is transformation in this set up too.
What I am trying to do is to parse a string which may or may not contain XML special characters into an XML acceptable string.
e.g. transform the surname O'Connor into O&apos ;Connor (with no embedded blank)
I wish to write a rule which uses XPress language to achieve this.
I want to convert the character ' into the string &apos ; (with no blank between apos and ;) and similar for the other XML specials.
Is this possible? -
Using XML with special characters - not rendering
Hello,
I am using xml to populate the content of a Flash file, but
we have localized content for different global regions. So, when
the content contains special characters like "é" they do not
show up at all in the flash. I tried using é but that
just renders the actual code...
Is there a workaround for this?
ThanksHi Rothrock, thanks for your reply...
Flash Version: 8, but the swf was published to be 7+
compatible.
The font is Meta Normal, it is embedded, and it does include
the character.
I am retrieving the xml by using this script in the html
page:
<script type="text/javascript">
// <![CDATA[
var fo = new FlashObject("/templates/flash/index.swf" +
cKiller, "ad-flash", "710", "351", "7", "#FFFFFF");
fo.addVariable("xmlURL", "/flash_content/products.xml");
fo.write("ad");
// ]]>
</script>
I am creating the XML using Macromedia Homesite, with the
encoding declaration <?xml version="1.0" encoding="UTF-8" ?>
The XML is being read fine, only the special characters don't
show up... so it will cut off the word, or just have an empty space
where the character should be.
I am not sure how to specifiy Extended Latin charset in the
document... could you tell me how to do that?
Thanks -
Unicode display with system fonts?? (special characters)
Hi All. We're working on site that supports a couple
different languages: English, Japanese, and now German. We're using
dynamic text boxes and Remoting to display internationalized text
where necessary. Remoting makes a call to the backend, which
returns a text blurb depending on the country ID that's in use and
then the result is tossed up into the dynamic text box on screen.
Simple as pie. Works great for English, and great for Japanese. But
now we've added German, which I thought would be painless as it's
another western language.
Apparently, Flash is having problems displaying special
characters like the umlaut. In place of the special character, we
see a black diamond with a question mark. Now normally I'd think
that the font we're using doesn't have the embedded symbol for the
umlaut character but the thing is, we're not using embedded fonts
-- we're using system fonts (verdana) and everything works perfect
for the Japanese version. What in the world is going on?
If I dump the results of the remoting call to an html page,
everything displays as it should so I know the data in the database
isn't improperly encoded or anything. And Japanese works! WTF? Any
ideas PLEASE let me know, been banging my head against this for
waaay too long now...
Danke
.Alright so if I change the data directly, and make the
a-umlaut into Ġ everything renders in Flash perfectly.
Rockin. So I patch my input cms code to run htmlentities() on the
text area. Instead of translating a-umlaut to Ġ though it
translates it to ä which Flash's html renderer doesn't
display correctly... Uh.. -
Dear List
I am at a loss with flash fonts embedding once again. I am using Flex 3 for coding and the Flash 4 IDE for font and assets management.
I used the following steps to include the fonts:
CS4 IDE:
1) Library : New Font 'HelveticaNeueRegular' mapped to Helvetica Neue Regular
2) Export for ActionScript and Export in Frame 1 enabled
3) Class Name: HelveticaNeueRegular
4) Base Class: flash.text.font
5) Publish file as swc
Flex:
6) Include the swc file in the project.
7) Code: Font.registerFont(HelveticaNeueRegular);
External XML:
8) Use an external xml file for all dynamic text. Define css classes with the span tag
External CSS:
9) Define the styles like this:
.articleText{
font-family:"Helvetica Neue";
font-size:15;
color:#000000;
The Problem:
Now the above works fine, but when I try to display special characters such as superscripts or Caron accents they don't show up.
What I've tried:
I've tried to put an additional textfield with the additional characters (ie: ²Žž) to embed on the stage in the CS4 IDE as well as in the library as a separate symbol with the export in 1st frame enabled. In both cases I included the characters with the text property option 'Character Embedding' > 'Include these Characters' and I also put the characters in the textfield itself. I used both the real name of the font as well as the Libaray Font name (ie: HelveticaNeueRegular*)
No luck
Any suggestions on how to get these special unicode character outlines to display?
Thank you all
Regards
skThank you again. I remember having a hard time finding a suiteable and working solution to embed the outlines for xml / html text / external css. Somehow all other solutions had some sort of drawback or plainly didn't work. Since I do have the CS4 IDE I would imagine that above solution should work. In the past putting a dynamic text field on the stage and embedding additional characters through the property window would work.
Not sure what to do now...
I guess I can try again to embed the fonts by linking it directly to the font in the Flex IDE and then specify the unicode fonts there. I will give it a shot. If someone knows of a way of making this work in CS4 > export to .swc for Flex (as3 project) please let me know.
Much thanks to everyone.
Regards
sk -
No recognition of special characters after upgrading to Adobe Reader X
Hello all,
we use a document-manager-software "Accantum" to scan and to archive PDFs. After upgrading to Adobe Reader X no german special characters (e.g. äöüß ...) are recognized by the document-manager. All words with special characters look fine on screen or printer, only the recognition by the document-manager outputs either "%" or no character in the destination-PDF-file. Scanning a version 9.x - PDF is still working fine.
Please give me a little hint
Thanks. StephanI don' think so, cause AR 9x -documents of the identical source are recognized absolutely correct and the error occurred exactly after upgrading to AR X (10.0.1).
Perhaps there is a way to look into the OCR-Text embedded in the PDF-file?
Thanks
Stephan -
Converting PageMaker doc to pdf: problem with special characters
I am using PageMaker 7 on Windows XP. I converted a PageMaker document to pdf (I use Acrobat 8 Professional), which worked fine except for two special characters that didn't convert: ć and ş, which convert as ae and a degree sign. What can I do to convert the document properly?
Thanks!You may want to ask in the Acrobat forum since Reader is simply viewing the results.
But I would suspect that you are having font embedding issues. Check to see that all fonts are embedded in the document. File>Properties>Fonts. -
Converting PageMaker doc to pdf: special characters don't convert
I am using PageMaker 7 on Windows XP. I converted a PageMaker document to pdf (I use Acrobat 8 Professional), which worked fine except for two special characters that didn't convert: ć and ş, which convert as ae and a degree sign. It took me a while to do insert the characters--the font I was using didn't have the characters (these two and ï). So I used Calibri for the ï and Arial for the ć and ş (they didn't seem to work with Calibri). I checked to see if the fonts were embedded, and the weird thing is that Calibri was not but converted fine, and Arial was (at least, ArialMT was) and the ć and ş didn't convert.
Help!You may want to ask in the Acrobat forum since Reader is simply viewing the results.
But I would suspect that you are having font embedding issues. Check to see that all fonts are embedded in the document. File>Properties>Fonts.
Maybe you are looking for
-
I start a session and all the previous tabs come up, like I want to restore, but I don't want to restore. I tried deleting history, etc--didn't work- they still came up-tried the setting in tools-options nothing changed
-
Windows 64-bit Mac Pro 1,1
With the latest boot camp 4.0 and 5.0 packages Apple went to extra lengths to make sure that 99.9% it would be impossible for me to install Boiot Camp x64. Why? all I want is the time to be right, a Startup Disk (Lion's does not see Windows 7 or 8 in
-
Acknowledgement for JMS to File scenario
Hi, I want to receive an acknowledgement that a file has been successfully written at the target and wonder if and how an acknowledgement could deliver this information. I've read that the receiver File adapter cannot generate a transport acknowledge
-
Wrong encoding on disk: characters not correctly encoded [SOLVED]
I don't even know how to start investigating what's wrong. Clearly, some part of the encoding is wrong. For instance, (when I do "ls"): Every character with some accent on it ü, ä etc are displayed in the same incorrect way. I have a fairly fresh ins
-
Need some help with figuring out numbers
I downloaded the newest version of numbers on my computer and created a new document. However, now it will not let me get in that document because it says I do not have the latest version of numbers. I checked and I do have the latest update for th