Spark Rich Editable Text Encoding

Hi,
i use a <s:RichEditable Text in conjunction with the TLF.
When I try to use special characters like ä,ö,ü I just get the a sqare displayed.
Where do I have to set the encoding ?
[ADDENTUM]
It is only NOT working with Apples Safari Version 4.0.5 (6531.22.7) under OSX 10.6.3
Chrome, and Firefox is fine !
Cheers
Marc

What do you mean by "use special characters"? Are they in your source code and they're not displaying properly at runtime? Is your source code AS or MXML? Are these characters in text that you're getting from a server and they're not displaying properly at runtime? Or can you not input them using the keyboard at runtime?
Gordon Smith
Adobe Flex SDK Team

Similar Messages

  • Embedded fonts with rich editable text

    Hi, I am trying to use my embedded fonts in rich editable text field, but it only works for users that already have that font installed on their system.
    This is what I do.
    I embed fonts like this:
         @font-face {
                src:url("fonts/Cantarell-Regular.ttf");
                fontFamily: Cantarell;
                advancedAntiAliasing: true;
            @font-face {
                src:url("fonts/Cantarell-Bold.ttf");
                fontFamily: Cantarell;
                fontWeight: bold;
                advancedAntiAliasing: true;
    Then in my DropDownList (id=fontPicker) I add a new string entry that references my new font (in this case "Cantarell")
    I have a custom item renderer which makes sure to print out the name of the font using the font itself, so that for example font name "Cantarell" will be printed out using Cantarell font. Code in my custom font item renderer looks like this:
    <s:Label id="labelDisplay"
                 fontFamily="{data}"
                 verticalCenter="0"
                 left="3" right="3" top="6" bottom="4"/>
    And this part works, even if you dont have the font installed on your system, the name of the font is displayed propperly.
    The thing that I want to do is to select some text in my rich editable text field and change the font of the selected text depending on what user selected from the dropdownlist. I added an event which is called once user selects new font type, and it performs following code on the selection in rich editable text:
                   if(fontPicker.selectedIndex == -1){
                        //user did not select anything, we do not change the font
                        text.setFocus();
                        return;
                   //we get the text layout format of the selected text
                    var txtLayFmt:TextLayoutFormat = text.getFormatOfRange(null,text.selectionAnchorPosition,text.selectionActivePosition);
                   //we change fontFamily of the selected text to the font that we just picked
                    txtLayFmt.fontFamily = fontPicker.selectedItem;
                    // I even tryed to add those two following lines without much help
                    //txtLayFmt.fontLookup = FontLookup.EMBEDDED_CFF;
                    //txtLayFmt.renderingMode = RenderingMode.CFF;
                   // we update our selected text with new font
                    text.setFormatOfRange(txtLayFmt,text.selectionAnchorPosition,text.selectionActivePosition );
                    text.setFocus();
    This code works perfect if user has the font installed on their system but it does not work if they dont have the font even if I embed the font.
    What I am doing wrong, any suggestions, tips, links?
    Thanks,
    Dal

    Thanks I will take a look at your blogs, maybe I find some explanations.
    Once it comes to my problem, I found a solution, I just needed to add a simple style:
            .mystyle1 {
                 fontFamily:Cantarell;
    and set the styleName of my text to it:
    text.styleName = "mystyle1";
    Afterwards I can dynamically change fonts and sizes of the text selections in my rich editable text field as much as I like.
    Also I need to make sure that I set embed-as-cff: true;
          @font-face {
                src:url("fonts/Cantarell-Bold.ttf");
                fontFamily: Cantarell;
                fontWeight: bold;
                advancedAntiAliasing: true;
                embed-as-cff: true;
    I hope this helps someone.
    And if anyone has explanation to why embedded fonts work only after I change styleName of a text to a random style, please share with me.
    Cheers,
    Dal.

  • Mail Text Encoding Options Missing

    For some reason, the Message -> Text Encoding pull-down menu in my Mail has only one option -- "Automatic". All other options are missing. Thus I am here seeking for help.
    All the information I've found told me that I should go to the International Pref Pane, choose Language, click the Edit List button and choose the languages I want. I did so, and there are indeed several languages in the list. Still, the pull-down menu in Mail shows no options at all, only "Automatic".
    Does anyone know what went wrong? Is some file corrupted in some way?
    Thanks!

    I deleted com.apple.mail.plist (in fact I it them to another location so I can restore it in case things go wrong) and re-launched Mail. This time I got all the menu options that should be there. I had to re-create all the mail accounts, but the saved emails were not lost.
    Problem solved! Thanks!

  • How to save contents of two different rich edit box into single rtf file in windows 8.1 app

    Developer, I have requirement to save registration data into rtf file.. These can only be done by if I put rich edit box to fill the data.. Now if I am going to write the code for saving the data of different rich edit box into one particular file, it
    only saves the data of last rich edit box.. So plzz suggest that how can I save the contents of different rich edit box together into one rtf file.

    Ok Nishant, just did some quick research, since rtf file is unlike txt file, we cannot simply directly write some content to the rtf.
    You can try to find some third party code that can help you insert text into rtf file or you would like to load the content from rtf out to the richeditbox and merge them to one richeditbox and then save back to the file.
    You could like to see how to read/save rtf file sample from:
    RichEditBox class
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Anyone having problems editing text on wiki pages in Workspace?

    I have had some serious issues when editing text on new wiki pages in my new Beehive workspace. First when I tried creating bulleted lists (with several or more items), after publishing the lists the text would all get tossed to the bottom of the page after publishing. Then I gingerly recreated the bulleted lists by running all the text together, then pressing Enter at the start of teach list item. This worked with some effort. But then when I tried editing my lists to update the information, the cursor would inadvertently jump to another place in the page, select some text, then my next keystroke would delete it. Even then, once I recreated all the information on the page, when published some of the text did not show up in the published version (it was still there in the editor).
    When I recreated the text and lists in Word files, then copied and pasted it into new wiki pages on workspace, the formatting transferred OK. But editing still creates problems. The Undo button will clearly cause problems, so I stopped using that, but I still am having serious editing issues. Any help appreciated.

    I just started using the Wiki pages and what I need at the time are some sortable tables (only limited need for bullets at the time). I am having an incredibly frustrating time using the "advanced" tables. I use both the Rich Text Editor and Wiki Markup screens to do this. The interface is incredibly buggy! As you metioned, you can get things just so in the WYSIWYG editing tool and it is completely messed up when published. In my case just switching between Rich Text Editor and Wiki Markup (without doing anything) messes things up! And if you want sortable columns, you had better not make them links, as the columns sort on the invisible URLs...
    I can only hope that the engine under the hood of this product is more reliable. I certainly expected more from Oracle...
    Martin

  • How to add edited text from photoshop to dreamweaver

    I edited text in photoshop to make it look nice and sparkly. I am trying to put it in a flash site but do not understand how. the context file only allows you to choose the color and type of font but nothing more such as drop shadows and such. when i go to edit the context code for the flash site what would the code for edited text in photoshop look like in dreamweaver context editor?

    I am not sure I understand? There is no Photoshop code?
    You would take the image you created in Photoshop and place it into your Dreamweaver document. Correct me if I don't understand what you are trying to do.
    Brad Lawryk
    Adobe Community Expert, Dreamweaver
    Adobe Usergroup Manager, Northern British Columbia Adobe User Group

  • How to store the rich formated text and screendumps in Oracle database

    Hi,
    I will create an FAQ management system. Users can log into the system, search and view the FAQ and answers. To be intractive, the users can also create new FAQ and add the comments on FAQ answers.
    The FAQ answers have rich formated text and the screendumps in the mid part of the answer. It should be presented in one page during user read/update the answers. How can I store the FAQ answer to Oracle database?
    Best regards,
    Ning

    I used blob to store pictures.
    The FAQ answer is the combination item of formated text and pictures. Can I use it to store?
    If I decided to use blob, how can I present the FAQ answers to the web. How can I edit the answer on the web?
    Thank you very much!

  • Scanning in editable text mode

    When I scan a document using the editable text mode, the previewed copy comes up correct.  When I save the copy to my desktop or document file, the copy become ureadable because the lettering changes.  Rich text sends the document to Microsoft Word which should be able to read the document properly. 

    Hi @mid13078,
    Welcome to the HP Forums!
     I see that you cannot scan in editable text mode, and I am happy to help!
    For further assistance, I will need to know the following:
    The Product/Model Number of your printer. Follow instructions in this link. Finding Your HP Product Model Number.
    If you are using a Windows or Mac Operating System, and the version number. To find the exact version, visit this link. Whatsmyos.
    If the printer is connected, Wireless, Ethernet, or USB.
    If you are using the HP Software to scan or a Third-party program.
    Please see this post, Want Good Answers? Ask Good Questions, by @Bob_Headrick, so you can get the most out of these forums.  
    Hope to hear from you soon!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • Fully editable text field

    Hello,
    I design custom digital invitations and would like to be able to offer fully editable text in a PDF form. By fully editable, I mean being able to have a client add their own text, to a text field I specify, where they can also change the color, size, position (within the text field) and font. Is this possible, and if so, which version(s) of Acrobat would I need?
    Thanks, for any help!

    Yes, you just have to configure the field to allow rich text formatting. See the options tab of the field properties dialog. You then need to inform your users about working with rich text. You bring up the Properties toolbar by pressing Ctrl+E. The various tools will become available when the field has the focus.

  • Exporting editable text PDF

    I've seen this question posed but never saw a fit answer. I'm designing a document (price tags) for a client that needs to be client editable. For the full story, see below.
    I've done the layout for the price tags in InDesign CS3 and am wanting to export a PDF that has pre-formatted text that can be edited by the client. I want the client to be able to enter in new information while maintaining the original design so as to be able to print endless new price tags on demand (and without my further involvement). I've tested several exports in Acrobat Pro and while I can highlight and copy the text, I cannot edit. I'm using the Acrobat presets export menu (press quality) in ID and have been unable to figure out how to set editable text.
    I'm REALLY wanting to avoid using Word for this.

    The controls for type size/style/color are unintuitive (IMO) in acrobat forms, but they are in there.
    Open the PDF in Acrobat Professional (my example uses 7, so newer may be slightly different).
    Select
    Tools > Advanced Editing > Text Field Tool and draw a field on the PDF page. This SHOULD open the Text Field Properties dialog.
    Under Appearance tab you can set the following:
    (text field) Border, (text field) Fill, Font, Font Size, color.
    Under Options tab, you can set horizontal alignment, character limit, single or multi-line, scrolling, rich text formats, etc.
    Under format you can set what kind of data is in the field, such as numbers only, percentage, etc.
    Under Calculate you can set whether the field is calculated using the values of other fields, etc.
    So, you can set up one field and duplicate is as needed.
    HTH
    -mt

  • Xcode 4 default text encoding

    How do I set the Xcode 4 default text encoding?
    I've tried to set it in Preferences > Text Editing > Default text encoding, but it takes no effect over my workspace and all my files.
    When I open the File Inspector, the default text encoding is always set to Western (Mac OS Roman) regardless of configured preference.
    Thanks in advice!

    I've used the xattr on some files, but there is no extra properties defined.
    Seems that Xcode need the BOM (byte order mark) to be present at the beginning of the file so the encoding gets detected successfully.
    I've tried to add the sequence \xEF\xBB\xBF to the beginning of some files, and Xcode detects UTF-8 and the content is shown properly.
    The problem now is that I have lots of files on my project, and add the BOM to the beginning of each file is inviable.

  • How do you edit text that is in a text box?

    How do you edit text that is in a text box?  I just want to change the font color of the text.  Solution in the Help files recommends selecting the text and then selecting Optional) To make further changes to the text box:
       Using the Select tool or the Text Box tool, click an edge of the text box to select it, and then drag a corner to resize it. Use the Properties toolbar to change the border and fill options.
       Double-click the text box to edit the text or change the text attributes. Drag across text to select it, and then select options from the Properties toolbar.
    This is what the help files recommend
    (Optional) To make further changes to the text box:
       Using the Select tool or the Text Box tool, click an edge of the text box to select it, and then drag a corner to resize it. Use the Properties toolbar to change the border and fill options.
       Double-click the text box to edit the text or change the text attributes. Drag across text to select it, and then select options from the Properties toolbar.
    When I try the above solution I don't have a  "Options" in the "Properties" toolbar.
    Why would they change a process that was so simple in previous editions to such a hidden awkward process?

    Try with a Brightness/Contrast adjustment layer and/or changing the blending mode.
    If the effect is too much for the rest of the bulb, you may be able to mask it out.
    It would help if you post a representative picture here on the forum page for us to look at.

  • Add or Edit Text Dialog Box Disappeared

    I am attempting to add text to my pdf using the add or edit text tool in Acrobat Pro X. However, the dialog box that allows me to change fonts, size, color, etc. has disappeared. Does anyone know how to make the dialog box come back?

    Hi,
    This is a new problem. It started about 2 days before I posted the question. I have not updated my Acrobat recently and I was previously able to use the dialog box with no problem. I have tried in several different documents and the dialog box is not showing up.
    Thanks for your assistance.

  • Remotely editing text files in Windows WinRM/PSExec/Powershell/cmd

    Hi!
    How can I remotely edit a text file in Windows?
    I am running and administering a number of Windows 7 workstations and Windows Server 2012 machines. I would like to be able to remotely edit text files on any of these machines. I can connect to any of these machines via psexec or powershell remoting. I
    can also connect via rdp, but for the workstations I would rather not kick the user off unless I absolutely have to.
    For example, we manage state configuration using
    Salt. Local configuration files are stored in C:/salt/conf. I would like to be able to edit these config files on the fly.
    This question on Stack Overflow covers the same topic, but none of the answers are particularly satisfying. Some of the possible solutions
    are:
    Remote Desktop: as I say, I would rather not have to kick a user off their workstation
    Edit a file over a UNC path: this only works for files on a share, and setting up arbitrary shares for quick edits seems like a bad idea.
    Install some manner of ftp or ssh server on all the target computers. This would certainly work, but it is it necessary with WinRM already active? I feel like installing and configuring extra software across all the machines in my organisation would be
    a last resort.
    Edit with a command line editor (e.g. vim, emacs) over a remote powershell session. This doesn't work. I don't understand the technical details, but a powershell remote session isn't interactive in the same way that ssh connections are.
    Edit using powershell's -replace operator, out-file and add-content cmdlets. This works, but is hardly the same as a fully featured text editor.
    Retrieve content from the remote, edit locally, and post back to the remote. This works, and is arguably the best solution I've found. Code sample from SO:
    PS C:\Users\Meredith> Invoke-Command -Session $ps -ScriptBlock {get-content c:/inetpub/myapp/web.config} > web.config
    edit web config
    PS C:\Users\Meredith> get-content web.config | Invoke-Command -Session $ps -ScriptBlock {set-content c:/inetpub/myapp/web.config}
    The last two options are the workflow that I've been using for now. Regex replacement for very simple changes, and copying to local and editing there for more complicated ones. Neither is ideal, but they work. It just feels incredibly old fashioned.
    I'm considering writing a plugin to my editor of choice (vim) to perform the remote fetch and save, to make my workflow a little bit smoother. Before I try that, I just want to know if there's anything that I've missed, or misunderstood.
    Cheers

    What is the "redirector"?
    I posted the same question to Stack Overflow, and was told about administrative shares. I wasn't aware of this, and it's exactly what I wanted. I can open the filetree of a remote machine with the path \\machinename\c$\. Perfectly simple, now that I know
    the answer.

  • Editing Text in Acrobat Pro DC

    I've followed all the instructions for editing text but when I go to select a text box the entire area is selected and the only choice is to move objects on the page (flip, left/right, etc).   I'm unable to click on the blue box to select that specific text box I need to adjust. There is no option for me to select Tools to follow the other help instructions  "If a bounding box doesn’t appear, choose Tools > Recognize Text > In This File."
    I'm trying to work on a PDF that someone else created (who is on vacation, lucky) and of course the client needs it. Any help would be greatly appreciated.
    Thank you!

    I don't have Acrobat DC here right now, so I can't give you step-by-step instructions for text recognition.
    But have a look at https://helpx.adobe.com/acrobat/how-to/edit-scanned-pdf-files.html?set=acrobat--fundamenta ls--edit-pdf
    [topic moved to Acrobat forum]

Maybe you are looking for

  • IPad 2 restore issue.

    i wonder is anyone can help. after having my iPad 2 for 3 years with no problems, suddenly it just got stuck on the Apple logo and would not charge up. Aftear assuming I had somehow damaged the mains port, I took it to an iexpert who took a look and

  • Internal GUI Error - PI 7.1 EHP1

    Hi All, We are on the following SPS level of PI 7.11 SAP_ABA     -->     711     -->     0004     -->     SAPKA71104     -->     Cross-Application Component SAP_BASIS     -->     711     -->     0004     -->     SAPKB71104     -->     SAP Basis Compo

  • System Center Endpoint Protection creates TEMP Folders / Reinstallation not possible

    Hi all, After I updated from SCCM 2012 RTM to SCCM 2012 R2 CU2 I have an issue on several Servers, which havin System Center Endpoint Protection 2012 installed (provided through SCCM Agent). There are hourly Temp Folders created in C:\Windows\...: Th

  • Audition grayed out in CS4

    I own Audition 1.5, but 'Edit in Audition' is grayed out. Is there an workaround?

  • Managed server independence mode startup : VERY slow (2h~)

    Hello there, I'm posting this thread to ask for some help. In my production environnement, where I am running a cluster of several ALSB nodes, a problem showed up when a network card was unplugged on our admin server hardware. You have to know that f