Special Characters in a HTML region

I recently upgraded from HTMLDB 2.0 to APEX 2.2 and I'm having trouble with some special characters.<br>
<br>
I have HTML region in which I display a hidden item. The hidden item (P1_TEST) has the following value:<br>
<br>
STRING1&lt;br&gt;STRING2&lt;br&gt;STRING3&lt;br&gt;<br>
<br>
The region source has a single reference to the hidden item:<br>
<br>
&P1_TEST. <- the period is there. :)<br>
<br>
In HTMLDB 2.0 the display in the HTML region would render the region as<br>
<br>
STRING1<br>
STRING2<br>
STRING3<br>
<br>
In APEX 2.2, the region is rendered as<br>
<br>
STRING1&lt;br&gt;STRING2&lt;br&gt;STRING3&lt;br&gt;<br>
<br>
which is obviously not what I want. <br>
<br>
Any ideas anybody? I must be missing something simple. :)<br>
<br>
Thanks, Kent

Kent - This is explained here: Re: Computed Region TItles being Escaped in Apex 2.2 You can use an application item instead of a hidden page item as a quick solution. To continue to use a page item you can make its display type Display as Text (does not save state) and set its display condition to Never.
Although this change from 2.0 to 2.2 necessitates this type of inconvenient program modification, the benefit is that a cross-site scripting vulnerability that existed in your application will now be corrected.
Scott

Similar Messages

  • Special Characters in imported HTML

    I've got a Flash piece where the user fills out a
    questionnaire, and based on their responses, they are shown a
    handful of recommendations. These recommendations are all separate
    HTML files that load into a scrolling text field as HTML text.
    There is an English version and a Spanish version. The
    English version works fine.
    In the Spanish version, on the other hand, we've got special
    characters such as accents over e's, tildes over n's, and so forth.
    In the HTML, I've used codes for special characters, such as
    &ntilde; for ñ. That didn't work. In the resulting
    recommendations, this code appears, not the ñ.
    Then I tried just putting the special characters into the
    HTML, without the special code. That looks fine on my computer (Mac
    G5 running Firefox), but on Windows IE instead of the special
    characters, we get one of those diamond shapes with a "?" in the
    middle of it.
    In my recommendations field, I have it set to embed all
    characters. The font is Verdana, which should include the special
    characters. Does anyone know if the display of special characters
    in Flash is possible, and how I would do it?

    add <?xml version="1.0" encoding="UTF-8"?> tag to 1st
    line of your xml, AND
    save your xml file encoding as utf-8, if you are using
    notepad, try this:
    - save as, change the encoding (the bottom field) to UTF-8
    no worry about your file extension.
    UTF-8 (8-bit Unicode Transformation Format) supports multiple
    languages.
    good luck

  • HTML special characters in form input

    In my site I store form input in my database. Before I store
    the data, I parse out smart quotes, en dashes, and other extended
    special characters and convert them into HTHML quivalents such as
    &#8217;
    All is well and good until the user goes to edit their info.
    In my form these characters show up in my <input> tags as
    their long-winded HTML equivalents, such as &#8217; instead of
    a smart apostrophe.
    Is there any way to convert these back to the special
    characters from the HTML on the form input text fields so that
    users can edit them without being confused?
    Thanks.

    Hmmm, well I ran the MX 6.1 updater and installed the two hot
    fixes that had to do with null pointer exceptions and it still does
    not work.
    Here is the detailed error I'm getting, if it helps. Any more
    ideas? Thanks again for the help, I'm really stuck on this one...
    The system has attempted to use an undefined value, which
    usually indicates a programming error, either in your code or some
    system code.
    Null Pointers are another name for undefined values.
    The error occurred in C:\Inetpub\wwwroot\store\index.cfm:
    line 1
    1 : <cfquery name="getBooks" datasource="#dsn#">
    2 : SELECT *
    3 : FROM products
    Please try the following:
    * Check the ColdFusion documentation to verify that you are
    using the correct syntax.
    * Search the Knowledge Base to find a solution to your
    problem.
    Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
    rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7
    Remote Address 127.0.0.1
    Referrer
    Date/Time 09-Oct-07 02:20 PM
    Stack Trace
    at
    cfindex2ecfm1770128649.runPage(C:\Inetpub\wwwroot\store\index.cfm:1)
    java.lang.NullPointerException
    at coldfusion.sql.QueryTable.populate(QueryTable.java:260)
    at coldfusion.sql.QueryTable.populate(QueryTable.java:159)
    at coldfusion.sql.Executive.getRowSet(Executive.java:505)
    at coldfusion.sql.Executive.executeQuery(Executive.java:974)
    at coldfusion.sql.Executive.executeQuery(Executive.java:886)
    at coldfusion.sql.SqlImpl.execute(SqlImpl.java:236)
    at
    coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:447)
    at
    cfindex2ecfm1770128649.runPage(C:\Inetpub\wwwroot\store\index.cfm:1)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147)
    at
    coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357)
    at
    coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:62)
    at
    coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:107)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:80)
    at
    coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:24)
    at
    coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:47)
    at
    coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
    at
    coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at
    coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:35)
    at
    coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:43)
    at
    coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.CfmServlet.service(CfmServlet.java:105)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:249)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
    at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:192)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

  • Special characters in java, oracle and html

    Hi,
    I'm working on a mini content management system and need help with dealing with special characters.
    The input are taken from html form which are then stored into a varchar column in oracle database.
    When i retrieve the data, some of the special characters have been changed to ??? and also
    fields with double quote are modified.
    I believe there two issues;
    1. dealing with special characters
    2. display special characters back in html form textfield after retrieving.
    e.g.
    This is the line with "quote" saved to database
    This is the line with "quote" retrieved from database
    This is the line with displayed in html text field.
    Any help will be much appreciated.
    Thanks in advance.

    Maybe you should try this couple of classes: java.net.URLDecoder and java.net.URLEncoder
    Andres
    Best

  • How to display RTE item in a HTML region

    I have a process that is populating a hidden item with a RTE item from another page. I need to display this in its formatted state. I am using an HTML region to display this item but the page shows HTML tags instead of rendering them. I have tried both options under html region (escape special characters and plain HTML text).
    Can someone please help me to display this formatted RTE item on a page? Btw...I am using APEX 4.0.
    Thanks.
    Ashwen
    Edited by: Ashwen on Jul 26, 2010 2:23 PM

    user12601765 wrote:
    did you figure out how to display RTE item in a HTML region? Can you share with me how you did it?No he can't. He's not been active on this forum for over a year, and is totally unaware of your post as watches on threads only persist for a few weeks. Please stop posting follow-ups to ancient threads. Many of the participants in such threads will no longer be active on the forum (check the "recent messages" in their profiles).
    Posting follow-ups to ancient threads/departed users is NOT an effective way of getting help:
    <li>Other users may ignore the thread as it appears to be closed
    <li>Your assumption that the questions are related may be incorrect, leading to confusion about the nature of the problem and potential solutions
    <li>Watches on the thread may have expired, so the original participants may be unaware of the new post, or they may no longer be active on the forum
    <li>You have no ability to mark posts as helpful or correct
    Post your question as a new thread, including at least the following information:
    <li>APEX version
    <li>DB version and edition
    <li>Web server architecture (EPG, OHS or APEX listener)
    <li>Browser(s) used
    <li>Links to related posts and threads using the methods in the FAQ.
    Please read the FAQ and forum sticky threads for more information on using this forum effectively.
    From the information in the Allow users to use Rich Text Editor to build their own HTML/Apex Page you resurrected:
    >
    I am a business user developing apps, so my technical skills are limited.
    >
    you should be considering Websheets. (See this tutorial as well.)
    Also, please update your forum profile with a real handle instead of "user12601765".

  • HTML Editor - converting "special characters" into entities

    Hi everyone,
    I'm currently in the middle of formatting my wife's novel into 'clean' html so I can use Calibre to create a well formatted epub/mobi/etc.
    I've read that TextMate on Mac includes a function to "Convert Selection to Entities excluding Tags".  In other words it will replace all special characters (ellipses, copyright sign, etc) with the html entities.
    I'm currently using Kate and I can't seem to find anything similar.  Is anyone aware of any linux editors with the same function?
    Thanks for the help!

    ctarwater wrote:Encoding is already UTF-8 but I'm trying to make these docs as "universal" as possible and I've read that little things like replacing quotation marks and other symbols with their html entities is a good step in that direction.
    In situations with multiple encodings this might be the case, but the XML spec requires UTF‐8 support at minimum and defaults to it when the encoding is not declared. All XML parsers can deal with UTF‐8.
    In fact, replacing UTF‐8 characters with entities is less portable in XML. This is because the available entities are defined by the doctype, and XML only supports five by default (&lt;, &gt;, &quot;, &amp;, and &apos;). Things like &hellip; are defined in the HTML and XHTML doctypes, but not in other dialects of XML. This used to bite RSS pretty hard (probably still does), because people assumed the entities were available everywhere when they’re really not. EPUB and Mobi are based on XHTML, but other formats might use other XML dialects.

  • Html special characters

    when using the Dreamweaver 'Set Text of Layer' behavior,
    Dreamweaver correctly converts all html
    special characters, such as accents like � and &,
    and quotes and double quotes, so that it is safe
    as a javascript string, and will display properly.
    I am trying to figure out what PHP function can do the same
    encoding, to simple text files (textEdit
    on the Mac).
    I have tried htmlentities(), but it does not work, accented
    letters like � just desappear from the
    string.
    I have tried htmlspecialchars() and it does not work
    either...
    I have tried about 10 others functions found on Google but
    nothing works.
    Anybody knows what exact function Dreamweaver uses to do this
    conversion?
    seb ( [email protected])
    http://webtrans1.com | high-end web
    design
    Downloads: Slide Show, Directory Browser, Mailing List

    should be > to &gt;
    < to &lt;

  • SSRS and data from SharePoint lists - special characters in HTML

    Hi All,
    This may not actually fit into this forum, but here goes anyway...
    We're using SSRS to report on data stored in Project Server workspaces (so SharePoint lists). Prior to upgrading to 2013, we could pull this data in and set the "Placeholder properties" of the text box to interpret HTML tags as styles and it would
    format everything as it appeared in the SharePoint list. Now that we have upgraded to 2013, this works with a few notable exceptions - some special characters are rendered as their escaped/encoded (whatever the term is) - so a colon which is within the text
    field in SharePoint, rather than appearing in the SSRS report as ":" appears as "&#58;".
    These are multiline, rich text formatted columns in the SharePoint list. Using =Replace(Fields!Description.Value,"&#58;",":") in the report makes the appropriate replacement, but given that this occurs with a handful of other special
    characters as well, this solution becomes very unruley very quickly. Has anyone else encountered this, or does anyone have any other suggestions for a work around?
    If not now, when?

    Facing same issue but having no solution, please suggest..

  • OT: HTML Special Characters

    I often use HTML special characters in place of images.  Until now, I've had to search many sites to find the exact character and code desired.  This site has them all neatly organized for quick reference.  Way cool!
    http://ikwebdesigner.com/special-characters/
    ❄   ☃   ❄ 
    Season's Greetings!
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

    I know a lot of those that I use all of the time, but there are tons I've never used. This is a great holiday present, Nancy!
    -Mark

  • Convert HTML special characters to String

    Hi,
    I'm looking for an easy way to convert HTML special characters (like "&#246") to String.
    Any Ideas how implement this? Thanks

    Hi,
    I'm looking for an easy way to convert HTML special
    characters (like "�") to String.
    Any Ideas how implement this? Thankswell im assuming that you mean that when you are working with java you will be getting a ? instead of the character you want. assuming that you are reading and writing to this html file. if not well maybe this can stil help : BufferedReader inFile = new BufferedReader(new InputStreamReader(new FileInputStream(fileName),"ISO8859-1"));
    PrintWriter outFile = new PrintWriter(new OutputStreamWriter(new FileOutputStream(fileName2), "ISO8859-1")); basically you need to make sure that ou define ISO8859-1 as the encoding.

  • HTML ATTACHMENT - SPECIAL CHARACTERS IS COMING WRONLY

    Hi All,
    i have used SO_DOCUMENT_SEND_API1 to send the attachment in mail ... in attachment mail it is not supporting special characters, showing the characters wrongly
    For example..
    User given Decription
    Moeda Comemorações e Evento
    Recieved Output like this
    Moeda Comemora瀵es e Evento
    Please let me know any parameter i have missed to enable unicode functionality.
    searched in the SDN, some suggestions to apply the sap note but my system is already applied ...
    Thanks,
    ram

    Hi,
    Pass the attachement data to contents_hex  instead of contents_bin    
    See the conversion between the bin and hexa..
    CALL FUNCTION 'SO_RAW_TO_RTF'
        TABLES
          objcont_old = lt_objbin
          objcont_new = lt_objbin.
      LOOP AT lt_objbin INTO l_line.
       conv = cl_abap_conv_out_ce=>create( encoding = 'UTF-8' endian = 'B').
        CALL METHOD conv->write( data = l_line ).
        l_buffer = conv->get_buffer( ).
        MOVE l_buffer TO l_hexa.
        MOVE l_hexa TO l_hex-line.
        APPEND l_hex TO lt_contents_hex.
      ENDLOOP.
    For more help refer to this link for example..http://docs.google.com/Doc?id=dfv2hmgs_6hf8nm5f4&hl=en

  • How to handle special characters in Apex

    Hi ,
    In my application I have two regions - one is Report Region (Interactive Report) and other one is HTML region with two text items - Empno and name
    My Report has two columns Empno(varchar2) and Ename(varchar2).
    When I click the edit link in the report column, the empno should have a read only EMPNO value and ename is a text field with ENAME value.
    When I run my application I have encountered the following problems :
    1. if my empno has special characters like ' # ', the characters after that is not getting displayed
    2. if my empno has special characters like ',' - the characters after comma is treated as a next texitem value
    Here is my credential ,
    Workspace CTSAN_ORACLE_DB
    Username [email protected]
    Password lakshmi321
    URL : http://apex.oracle.com/pls/apex/f?p=9444:19:4292839314890159:::::
    Plz. suggest me how to rectify the above problems.
    Thanks,
    Anoo..
    Edited by: Anoo on Aug 13, 2010 3:05 AM

    Don't pass data values in URLs. Whilst it is possible to escape values to make them URL- and APEX parameter-safe, it is much better practice to avoid the problem altogether.
    Create a surrogate primary key on the table that is an immutable discrete numeric identifier and only use this as a URL parameter. In target pages/regions, use this PK value to retrieve the required data from the table.

  • How to handle special characters in Stage web view with Load URL method?

    Hi,
      I have Latin special characters in my text. My HTML content contains the text as well as the image. If I use stage webview LoadString,  images will not be displayed. But my latin characters are displayed correctly.
    If I use LoadURL method, the images are displayed correctly but I have problem in displaying the latin special characters. How to solve this issue?

    Don't pass data values in URLs. Whilst it is possible to escape values to make them URL- and APEX parameter-safe, it is much better practice to avoid the problem altogether.
    Create a surrogate primary key on the table that is an immutable discrete numeric identifier and only use this as a URL parameter. In target pages/regions, use this PK value to retrieve the required data from the table.

  • Special characters (norwegian wovels) not showing correctly in Page Layouts

    We have a publishing site which surfaces content from several catalogs in an authoring site in a cross site collection publishing environment.
    We have a problem with labels for Catalog-Item Reuse Snippets containing norwegian vowels/special characters not showing properly. An example of a snippet is shown below. This contains the character ø (oslash).
    <div class="rightColPaddingUnder"><h2>Leverandørkontakt</h2>
    <!--CS: [NavnhovedkontaktleOWSTEXT] Start Catalog-Item Reuse Snippet-->
    <!--SPM:<cc1:CatalogItemReuseWebPart runat="server" UseServerSideRenderFormat="True" ResultType="" NumberOfItems="1" UseSharedDataProvider="True" OverwriteResultPath="False" ResultsPerPage="1" SelectedPropertiesJson="[&#34;NavnhovedkontaktleOWSTEXT&#34;]" Title="$Resources:Microsoft.Office.Server.Search,CBSItem_Title;" Description="$Resources:Microsoft.Office.Server.Search,CBSItem_Description;" MissingAssembly="Cannot import this Web Part." ID="g_1d79f6d5_037f_43b3_ac4b_4e7bc10ff1c3" __WebPartId="{1d79f6d5-037f-43b3-ac4b-4e7bc10ff1c3}">-->
    <!--SPM:<RenderFormat>-->
    <!--DC:Viser verdi fra søk uten ekstra formatering.-->
    <!--SPM:</RenderFormat>-->
    <!--SPM:</cc1:CatalogItemReuseWebPart>-->
    <!--CE:End Catalog-Item Reuse Snippet-->
    </div>
    The frontend messes the character up and displays this as strange A
    We have tried several things in order to fix this but are running out of leads:
    tried to change encoding in the page layout html file from utf-8 to iso-8859-1
    tried to replace ø with the hex value (&#248;) and the old school & + oslash + ; way of encoding characters
    Regional settings on the server is verified to be norwegian
    The strange part is that actual content in the content type columns that we display around the page actually shows the norwegian characters correctly

    Excellent, thanks!. I checked the top level globalization setting i IIS and this was set to Windows-1252.
    However, our work around solution was to add the 
    <meta charset="utf-8">
    declaration inside the first MS-statement inside the body tag of the page layout HTML file like this:
    <?xml version="1.0" encoding="utf-8"?><!--SPG:
    -->
    <!DOCTYPE html[]>
    <html class="no-js" lang="en" xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
    <head>
    <title>Some title
    </title>
    </head>
    <body>
    <!--MS:<asp:ContentPlaceHolder ID="PlaceHolderTopNavBar" runat="server">-->
    <meta charset="utf-8">
    <!--MS:<SharePoint:AspMenu ID="TopNavigationMenu" runat="server" EnableViewState="false" DataSourceID="topSiteMap" AccessKey="&#60;%$Resources:wss,navigation_accesskey%&#62;" UseSimpleRendering="true" UseSeparateCss="false" Orientation="Horizontal" StaticDisplayLevels="1" AdjustForShowStartingNode="false" MaximumDynamicDisplayLevels="3" SkipLinkText="">-->
    Strange, but it worked.
    Actually we tried to set the globalization settings in the web.config files of the different IIS sites running in the webapp yesterday like this:
    <add name="SPWindowsClaimsAuthentication" type="Microsoft.SharePoint.IdentityModel.SPWindowsClaimsAuthenticationHttpModule, Microsoft.SharePoint.IdentityModel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
    </httpModules>
    <globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="nb-NO" fileEncoding="utf-8"/>
    <!--<globalization fileEncoding="utf-8" />-->
    <compilation batch="false" debug="false">
    As far as I can understand this should have the same effect as setting this in IIS.
    It seems that the IIS setting actually overrides whatever you put in web.config for globalization options.
    We have updated the IIS setting now to UTF-8 and done a IIS Reset. At the moment we get corrupted characters still, but now the existing aspx-files probably is corrupted and needs to be replaced with fresh ones. I will do a catalog dis-/reconnect.
    I'll update with whatever we end up with as the final solution. Anyway, very grateful for the invaluable help from a fellow Scandinavian :-)

  • 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 &eacute; but that
    just renders the actual code...
    Is there a workaround for this?
    Thanks

    Hi 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

Maybe you are looking for

  • Statistical condition types not getting displayed in invoice

    We  have configured the tax collected at source (TCS) condition types and make them as statistical in the pricing procedure. Now, the issue is when we are using them the values for these condition types are getting calculated correctly as the total v

  • Launch Application Error in PC Suite in XP Laptop

    Hi I can download PC suite onto Windows XP laptop and use all its functionality with my 6230 phone But when I end my laptop session and logout I cannot use any of the functionality when log back into my laptop Get launch application error When I down

  • Queue is stopped after restarting XI

    Hi, i restartet the XI ( server rebbot) and now i have the problem, that messages not processed. In SXMB_MONI i see a green flag an the message is "Recorded" and it's "Waiting in Queue". Now i can unlock the queue by clicking the queue name. i have t

  • OUI Screen Problem

    Hi Guys, We are installing ECC 6.0 on HP Itanium Server(Unix)11.31,during DB (oracle)installation the OUI screen is not coming up,what could be the possible reasons?? Is it some libraries/RPM's missing if so kindly let us know what are the required l

  • Guitar Rig, MBox interface with Logic

    I am using Guitar Rig with their foot pedal as input for my Guitar. I want to use my MBox for output control because the foot pedal only has a volume control which has to be manually manipulated and is inconvient to get at. I can see output in the Lo