Dealing with special characters in  PHP part deux

Something else is confusing me about special characters.  I am doing some troubleshooting/maintenaince on my files. On one files I have my navigation bar on a separte file and use the include function to use it. 
For the other file, I took the include out and just copy and pasted what was in the inculde file directly on to the file. 
The words that contain special characters in the include appear funny in the browser. However the menu that is not included (but copied from the include) appears normal.
Any thoughts?
One is copied and pasted from the other, yet the look different

Sorry, my head's been swimming today:
Here is the include file (minus much of the list)
The Beers
Recent Additions
Recommended
Hybrid        
06 Light Hybrid            
06a Cream Style
06b Blonde Ale
06c Kölsch
06d American Wheat/Rye
07 Amber Hybrid            
07a Northern German Altbier
07b California Common
07c Düsseldorf Altbier
And the above include is put in here:
This is all the code north of the content.
Also, all I did to copy and paste this was hit ctrl A and crtl C on the sidebar include page, and ctrl V on the file below.
<?php require_once('Includes/connection.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
  if (PHP_VERSION < 6) {
    $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
  $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
  switch ($theType) {
    case "text":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;   
    case "long":
    case "int":
      $theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
    case "double":
      $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
      break;
    case "date":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
    case "defined":
      $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
      break;
  return $theValue;
?>
<?php require_once('Includes/mysql_prep.php'); ?>
<?php
$colname_DetailRS1 = "-1";
if (isset($_GET['listID'])) {
  $colname_DetailRS1 = $_GET['listID'];
mysql_select_db($database_beer_diary, $beer_diary);
$query_list_beer = sprintf("SELECT * FROM beer ORDER BY date_tasted_01 DESC LIMIT 15", GetSQLValueString($colname_DetailRS1, "text"));
$list_beer = mysql_query($query_list_beer, $beer_diary) or die(mysql_error());
$row_list_beer = mysql_fetch_assoc($list_beer);
$total_rows = mysql_num_rows($list_beer);
?>
<html>
<head>
<title>Recent Additions</title>
<link href="stylesheets/style.css" rel="stylesheet" type="text/css" />
<link href="stylesheets/table_and_forms.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="images/beer.jpg">
</head>
<body>   
<div id="container">
<div id="header">
<?php include('Includes/header.php');?>
</div>
<div id="sidebar">   
<!----------------SPRY NAVIGATION MENU CODE FOR FORMS-------------------------------------------------------------->
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css">
<ul id="Beer_Navi" class="MenuBarVertical">
<h1>The Beers</h1>
<li><a href="recent_list.php">Recent Additions</a></li>
      <li><a href="recommend_list.php">Recommended</a></li>
      <li><a class="MenuBarItemSubmenu" href="#">Beer by Country</a>
        <ul>
          <li><a href="country_list.php?listID=USA">America</a></li>
          <li><a href="country_list.php?listID=BEL">Belgium</a></li>
          <li><a href="country_list.php?listID=DEU">Germany</a></li>
          <li><a href="country_list.php?listID=GBR">Great Britain</a></li>
          <li><a href="country_list.php?listID=JPN">Japan</a></li>
          <li><a href="oth_list">Other Countries</a></li>
        </ul>
  </li>
      <li><a href="#" class="MenuBarItemSubmenu">Lager</a>
        <ul>
          <li><a href="style_list.php?listID=01">01 Light Lager</a>
            <ul>
              <li><a href="substyle_list.php?listID=01a">01a Lite American Lager</a></li>
              <li><a href="substyle_list.php?listID=01b">01b Standard American Lager</a></li>
              <li><a href="substyle_list.php?listID=01c">01c Premium American Lager</a></li>
              <li><a href="substyle_list.php?listID=01d">01d Munich Helles</a></li>
              <li><a href="substyle_list.php?listID=01e">01e Dortmunder Export</a></li>
            </ul>
          </li>
          <li><a href="style_list.php?listID=02">02 Pilsner</a>
            <ul>
              <li><a href="substyle_list.php?listID=02a">02a German Pilsner (Pils)</a></li>
              <li><a href="substyle_list.php?listID=02b">02b Bohemian Pilsner</a></li>
              <li><a href="substyle_list.php?listID=02c">02c Classic American Pilsner</a></li>
            </ul>
          </li>
          <li><a href="style_list.php?listID=03">03 European Amber Larger</a>
            <ul>
              <li><a href="substyle_list.php?listID=03a">03a Vienna Lager</a></li>
              <li><a href="substyle_list.php?listID=03b">03b Oktoberfest/Märzen</a></li>
            </ul>
          </li>
          <li><a href="style_list.php?listID=04">04 Dark Lager</a>
            <ul>
              <li><a href="substyle_list.php?listID=04a">04a Dark American Lager</a></li>
              <li><a href="substyle_list.php?listID=04b">04b Munich Dunkel</a></li>
              <li><a href="substyle_list.php?listID=04c">04c Schwarzbier</a></li>
            </ul>
          </li>
          <li><a href="style_list.php?listID=05">05 Bock</a>
            <ul>
              <li><a href="substyle_list.php?listID=05a">05a Maibock/Helles Bock</a></li>
              <li><a href="substyle_list.php?listID=05b">05b Traditional Bock</a></li>
              <li><a href="substyle_list.php?listID=05c">05c Doppelbock</a></li>
              <li><a href="substyle_list.php?listID=05d">05d Eisbock</a></li>
            </ul>
          </li>
        </ul>
      </li>
      <li><a href="#" class="MenuBarItemSubmenu">Hybrid</a>
        <ul>
          <li><a href="style_list.php?listID=06">06 Light Hybrid</a>
            <ul>
              <li><a href="substyle_list.php?listID=06a">06a Cream Style</a></li>
              <li><a href="substyle_list.php?listID=06b">06b Blonde Ale</a></li>
              <li><a href="substyle_list.php?listID=06c">06c Kölsch</a></li>
              <li><a href="substyle_list.php?listID=06d">06d American Wheat/Rye</a></li>
            </ul>
          </li>
          <li><a href="style_list.php?listID=07">07 Amber Hybrid</a>
            <ul>
              <li><a href="substyle_list.php?listID=07a">07a Northern German Altbier</a></li>
              <li><a href="substyle_list.php?listID=07b">07b California Common</a></li>
              <li><a href="substyle_list.php?listID=07c">07c Düsseldorf Altbier</a></li>
            </ul>
          </li>
        </ul>
      </li>
      <li><a href="#" class="MenuBarItemSubmenu">Ales</a>
        <ul>
          <li><a href="style_list.php?listID=08">08 English Pale Ale</a>
            <ul>
              <li><a href="substyle_list.php?listID=08a">08a Standard/Ordinary Bitter</a></li>
              <li><a href="substyle_list.php?listID=08b">08b Special/Best/Premium</a></li>
              <li><a href="substyle_list.php?listID=08c">08c Extra Special/Strong</a></li>
            </ul>
          </li>
          <li><a href="style_list.php?listID=09">09 Scottish & Irish Ale</a>
            <ul>
              <li><a href="substyle_list.php?listID=09a">09a Scottish Light 60/-</a></li>
              <li><a href="substyle_list.php?listID=09b">09b Scottish Heavy 70/-</a></li>
              <li><a href="substyle_list.php?listID=09c">09c Scottish Export 80/-</a></li>
              <li><a href="substyle_list.php?listID=09d">09d Irish Red Ale</a></li>
              <li><a href="substyle_list.php?listID=09e">09e Strong Scotch Ale</a></li>
            </ul>
          </li>
          <li><a href="style_list.php?listID=10">10 American Ale</a>
            <ul>
              <li><a href="substyle_list.php?listID=10a">10a American Pale Ale</a></li>
              <li><a href="substyle_list.php?listID=10b">10b American Amber Ale</a></li>
              <li><a href="substyle_list.php?listID=10c">10c American Brown Ale</a></li>
            </ul>
          </li>
          <li><a href="style_list.php?listID=11">11 English Brown Ale</a>
            <ul>
              <li><a href="substyle_list.php?listID=11a">11a Mild</a></li>
              <li><a href="substyle_list.php?listID=11b">11b Southern English Brown</a></li>
              <li><a href="substyle_list.php?listID=11c">11c Northern English Brown</a></li>
            </ul>
          </li>
          <li><a href="style_list.php?listID=12">12 Porter</a>
            <ul>
              <li><a href="substyle_list.php?listID=12a">12a Brown Porter</a></li>
              <li><a href="substyle_list.php?listID=12b">12b Robust Porter</a></li>
              <li><a href="substyle_list.php?listID=12c">12c Baltic Porter</a></li>
            </ul>
          </li>
          <li><a href="style_list.php?listID=13">13 Stout</a>
            <ul>
              <li><a href="substyle_list.php?listID=13a">13a Dry Stout</a></li>
              <li><a href="substyle_list.php?listID=13b">13b Sweet Stout</a></li>
              <li><a href="substyle_list.php?listID=13c">13c Oatmeal Stout</a></li>
              <li><a href="substyle_list.php?listID=13d">13d Foreign Extra Stout</a></li>
              <li><a href="substyle_list.php?listID=13e">13e American Stout</a></li>
              <li><a href="substyle_list.php?listID=13f">13f Russian Imperial Stout</a></li>
            </ul>
          </li>
          <li><a href="style_list.php?listID=14">14 India Pale Ale</a>
            <ul>
              <li><a href="substyle_list.php?listID=14a">14a English IPA</a></li>
              <li><a href="substyle_list.php?listID=14b">14b American IPA</a></li>
              <li><a href="substyle_list.php?listID=14c">14c Imperial IPA</a></li>
            </ul>
          </li>
          <li><a href="style_list.php?listID=15">15 German Wheat & Rye</a>
            <ul>
              <li><a href="substyle_list.php?listID=15a">15a Weizen/Weissbiet</a></li>
              <li><a href="substyle_list.php?listID=15b">15b Dunkelweizen</a></li>
              <li><a href="substyle_list.php?listID=15c">15c Weizenbock</a></li>
              <li><a href="substyle_list.php?listID=15d">15d Roggenbeir (Rye)</a></li>
            </ul>
          </li>
          <li><a href="style_list.php?listID=16">16 Belgian & French Ale</a>
            <ul>
              <li><a href="substyle_list.php?listID=16a">16a Witbier</a></li>
              <li><a href="substyle_list.php?listID=16b">16b Belgian Pale Ale</a></li>
              <li><a href="substyle_list.php?listID=16c">16c Saison</a></li>
              <li><a href="substyle_list.php?listID=16d">16d Bière de Garde</a></li>
              <li><a href="substyle_list.php?listID=16e">16e Belgian Specialty Ale</a></li>
            </ul>
          </li>
          <li><a href="style_list.php?listID=17">17 Sour Ale</a>
            <ul>
              <li><a href="substyle_list.php?listID=17a">17a Berliner Weisse</a></li>
              <li><a href="substyle_list.php?listID=17b">17b Flanders Red Ale</a></li>
              <li><a href="substyle_list.php?listID=17c">17c Flanders Brown Ale</a></li>
              <li><a href="substyle_list.php?listID=17d">17d Straight Lambic</a></li>
              <li><a href="substyle_list.php?listID=17e">17e Gueuze</a></li>
              <li><a href="substyle_list.php?listID=17f">17f Fruit Lambic</a></li>
            </ul>
          </li>
          <li><a href="style_list.php?listID=18">18 Belgian Strong Ale</a>
            <ul>
              <li><a href="substyle_list.php?listID=18a">18a Belgian Blond Ale</a></li>
              <li><a href="substyle_list.php?listID=18b">18b Belgian Dubbel</a></li>
              <li><a href="substyle_list.php?listID=18c">18c Belgian Tripel</a></li>
              <li><a href="substyle_list.php?listID=18d">18d Belgian Golden Strong Ale</a></li>
              <li><a href="substyle_list.php?listID=18e">18e Belgian Dark Strong Ale</a></li>
            </ul>
          </li>
          <li><a href="style_list.php?listID=19">19 Strong Ale</a>
            <ul>
              <li><a href="substyle_list.php?listID=19a">19a Old Ale</a></li>
              <li><a href="substyle_list.php?listID=19b">19b English Barleywine</a></li>
              <li><a href="substyle_list.php?listID=19c">19c American Barleywine</a></li>
            </ul>
          </li>
        </ul>
      </li>
      <li><a href="#" class="MenuBarItemSubmenu">Specialty Beers</a>
        <ul>
          <li><a href="style_list.php?listID=20">20 Fruit Beer</a></li>
          <li><a href="style_list.php?listID=21">21 Spice/Herb/Vegetable Beer</a>
            <ul>
              <li><a href="substyle_list.php?listID=21a">21a Spice, Herb, or Vegetable</a></li>
              <li><a href="substyle_list.php?listID=21b">21b Christmas/Winter Specialty</a></li>
            </ul>
          </li>
          <li><a href="style_list.php?listID=22">22 Smoked/Wood-aged Beer</a>
            <ul>
              <li><a href="substyle_list.php?listID=22a">22a Classic Rauchbeir</a></li>
              <li><a href="substyle_list.php?listID=22b">22b Other Smoked Beer</a></li>
              <li><a href="substyle_list.php?listID=22c">22c Wood-Aged Beer</a></li>
            </ul>
          </li>
          <li><a href="style_list.php?listID=23">23 Specialty Beer</a></li>
        </ul>
      </li>
</ul>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("Beer_Navi", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</div><!-- end #sidebar -->
<div id="content">

Similar Messages

  • Dealing with special characters

    Hello Guys,
    I have some time finding for solutions trying to filter out the columns with occurence of special character.
    Can anybody help me build a query to trap/filter colums with occurence of unwanted any_+ special characters?
    A syntax for finding any special characters would do.
    I am using Oracle SQL Developer Version 1.5.5.
    Thanks...
    Edited by: ard565 on Jan 26, 2010 7:06 PM

    Hi,
    Can you provide the structure of the table, and do you want to filter the record if special character occurs on any column of the table or any particular column.
    Moreover in your terms what does special character stands for. Is it all the character that is not alpha numeric or specific set of special character?
    Regards
    Anurag

  • Issue with escaping characters and php

    Greetings,
    We are working on a web page using php and Oracle. We have troubles dealing with the diferent escaping characters when inserting/retrieving data (magic quotes is on but adding the backslash doesn't help :( ).
    We would like to know the correct way of dealing with those characters ( ' " / /n ...).
    Thank you in advance,
    Sincerely,
    Oriol Nonell

    Do NOT use addslashes/stripslashes to escape your queries. I use this function to do the escaping:
    function escapeSQL($string, $wildcard=false)
    $result = str_replace("'","''",$string);
    if ($wildcard == true) $result = str_replace("%","%%",$result);
    return $result;
    It basically replaces ' with ''.
    If you set $wildcard to false, then '%' is considered to be an actual '%' (for 'like' expressions). If you set it to true, a % is escaped to %% too.

  • FTP-Adapder - Password with special characters

    Hi,
    I hope anybody can help me.
    I have configuriered a sender FTP-Adapter, for login we have a Password with special characters like § or $.
    in the Monitoring now we get this error: 'com.sap.aii.adapter.file.ftp.FTPEx: 530 User cannot log in.'
    if I use a password without the special character, I can Connect to the FTP-Server.
    How can I configure the XI(7.00) to use a password with this characters.
    Thanks for your help
    Mario Grießer

    Hi Mario,
    Check the below thread which might through a light on your issue:
    Re: brbackup using ftp
    Thanks,

  • Problems with special characters like "u00F6" "u00E4" "u00FC"

    Hi,
    we currently face some major problems with special characters like "ö" "ä" "ü". First I thought it is a SP02 specific problem but it still doesn't work with SP03.
    When I start an import the import manager shows correct converted value. "ö"s "ä"s "ü"s are displayed correctly. But after I've done the import I look into the Data manager and I see instead of these characters charcaters like "&#776;". (note: the character should show a little square box - but the forum cannot desplay it)
    How can I solve this problem?
    Regards
    Nico

    Hi Nico
      Just try it out the following steps, hope it solves ur issue.
    <b>To set one or more values back to their original values:</b>
    1. In the Import Manager Source Values grid, select the values that you want to set back to their original values.
    2. Right-click on one of the values and choose Set to Original Value from the context menu, or choose Values > Apply Value Conversion Filter > Set to Original Value from the main menu.
    3. MDME sets each value back to its original value, which appears in black in the Source Values grid.
    <b>NOTE : You can use the Set to Original Value filter only at the value-level and not at the field level.</b>
    thanks
    Alexander

  • Problems with Special Characters on Exchange Email

    Hello:
    People I have a issue with our Corporate Email on my Iphone. We use Exchange 2003 and we have users with special characters on his emails address.
    I receive fine the email, just appear a errors on the display name. The issue is when I try to reply thie email. A error message popup said:
    Invalid Address
    "email with special characters" does not appear to be a valid email address. Do you want to send it anyway?
    If I press Yes, Iphone try to send the message But I receive another error message:
    Cannot send Mail
    An error ocurred while delivering this message.
    Any Help or Idea?
    Here My Email Configuration
    Email = Email
    Server = Server IP
    Domain = Work Domain Name
    Username = my user id
    Password = my password
    Description = Work
    Use SSL = ON
    S/Mime = Off

    When I Said "we have users with special characters on his emails address" its mean users with ñ,ó, ú, Ñ on his emails address. 
    When I said "just appear a errors on the display name" I mean characters like Âñ¡
    Thanks

  • Problems with special characters in JSP app

    Hello!
    I am working for a JSP application which uses special characters.
    The database used is a Novell MySQL version, it is fine.
    I use Tomcat, Apache.
    I do not think that the versions are important.
    ON NT:
    The application works fine with special characters.
    Obs: I tried only with Tomcat; I didn't use Apache.
    ON NOVELL:
    If I try to insert some special characters,
    they arrive just fine into the database.
    The problem is when I want to display them.
    I tried with jsp directive to set the charset,
    or with HTML meta tag - no result al all.
    Everytime I use the same work station, and the same browser to do the tests.
    Please help with any ideas.
    Another question, maybe relayed:
    Can I set Tomcat so that when it creates the servlets it uses a custom charset I can indicate?
    THANK YOU!

    The characters I want to use are french characters, e-acute, etc.
    I take the data with request.getParameter, POST method, etc.

  • Problems with special characters in InputStream or XPath

    Hello everyone,
    I am having problems with special characters such as ", ', - and so on, everything becomes ? (questionmark). (Not with special nordic characthers (å,æ,ø) though.)
    The encoding of the XML is UTF-8, and the server that holds the webservice is setting encoding to UTF-8 also, so no conflict there.
    What I have done is something like this:
    {code}
    String url = "http://www.formula1.com/rss/news/latest.rss"; // This is not the feed I use, it is a custom XML document
    InputSource is = new InputSource(url);
    DocumentBuilderFactory fct = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = fct.newDocumentBuilder();
    Document doc = builder.parse(is);
    Element rootElement = doc.getDocumentElement();
    XPathFactory factory = XPathFactory.newInstance();
    XPath xPath = factory.newXPath();
    out.print(xPath.evaluate("/rss/channel/title", rootElement)); // The xml is not a RSS feed, this is just an example.
    {code}
    Please let me know what I am doing wrong, or give me a hint of how to solve this in another way.
    Best regards,
    G.Hansen
    Edited by: G.Hansen on Mar 24, 2009 2:39 AM

    Hello, thanks for you reply. I had to rewrite your code a little, and I think that your code would not really compile, if you tried yourself :-)
    I ended up with something like this:
    our environment is running in 1.4 mode, so I could not use the for-each loop :-(
    public String printEntities(String s) {
         char[] sArray = s.toCharArray();
         StringBuffer sb = new StringBuffer();
           for (int i = 0; i < sArray.length; i++) {
             if (sArray[i] > 256)
                  sb.append("&#x" + Integer.toHexString(sArray) + ";");
         } else
              sb.append(sArray[i]);
         return sb.toString();

  • SSID with special characters showing up in place of the letters

    On a Win 7 machine the SSID list of available wireless networks is showing up with special characters in place of the normal letters in the name of the SSID... It has nothing to do with the Linksys Router, it is a problem on this computer. It makes it impossible to connect to a wireless network. I removed the device and reinstalled it hoping that might help. I can't find any viruses, (Known Viruses) Has anyone here seen this before? I am atttaching a photo of this. Any help appreciated.

    marke1102 wrote:
    On a Win 7 machine the SSID list of available wireless networks is showing up with special characters in place of the normal letters in the name of the SSID... It has nothing to do with the Linksys Router, it is a problem on this computer. It makes it impossible to connect to a wireless network. I removed the device and reinstalled it hoping that might help. I can't find any viruses, (Known Viruses) Has anyone here seen this before? I am atttaching a photo of this. Any help appreciated.
    Is this the only computer having a problem? How many wireless devices are connected and working to the router right now?

  • Problem figuring out the encoding for filenames with special characters

    I'm not sure if this is the right forum, but this does seem like an OS issue.
    I brought in a lot of mp3 and m3u files from a Windows machine to my new Mac. Some of the mp3 files have accented characters in their names, and these names appear in the m3u files. But if I add the m3u file to iTunes, it fails to recognize these names and so I lose all the mp3's with special characters in their names.
    I tried to fix this by grabbing the files name in Python, but that didn't work either!
    Here's an example: the file's name is "Voilà l'été.mp3"
    The m3u files says "Voil\xe0 l'\xe9t\xe9.mp3" -- this doesn't work.
    From os.listdir(), I get Voila\xcc\x80 l'e\xcc\x81te\xcc\x81.mp3", but sticking it in an m3u files doesn't work either. (Note that here the characters are encoded as unaccented letter + two byte code for the accent).
    When I try these strings from python, e.g. doing os.stat(), they both work; but iTunes doesn't understand any of them!
    I'd appreciate any hints on how to enter these names in the m3u file so that iTunes can read it. Thanks!

    I know nothing about "m3u" files and how iTunes interprets the file names in them, but if it is not a relative/absolute path problem, then how about just putting the raw file names (not the ones with backslash escape) in m3u file? For example, just put
    Voilà l'été.mp3
    in m3u?
    As for Unicode encoding, HFS+ file system uses the "decomposed form" for accented characters. This means, as you write, à is hex "61 cc 80" in UTF-8, i.e., "a + COMBINING GRAVE ACCENT". The pre-composed form is hex "c3 a0". But my experience is that in most cases both pre-composed and decomosed forms work at the user level (not at the lowest file system level).

  • Problem with special characteres

    Hi. I have a problem with java. I�m making an application that works with special characters and displays correctly on my local machine, as I use escape characters such as &igrave; for �. The problem is when I deploy the application on a unix machine. All of the special characters (�, �, �, etc) appear like a �?� (question mark). Any tips, please?
    Thanks in advance

    Andy2008 wrote:
    Hi. I have a problem with java. I&#146;m making an application that works with special characters and displays correctly on my local machine, as I use escape characters such as &igrave; for �. The problem is when I deploy the application on a unix machine. All of the special characters (&#145;, �, �, etc) appear like a &#147;?&#148; (question mark). Any tips, please?First step: read [this excellent introduction into Unicode|http://www.joelonsoftware.com/articles/Unicode.html], it will give you the basics you need to solve this problem.
    How do you input and output those characters? Simply print them to the console? Or write them to a HTML file (since you mention &<something>; notation)?
    "?" is normally the result when you convert a String (which is always in UTF-16 encoding in Java) to an encoding that can't represent your characters (ASCII for example).

  • Tag Query with Special Characters in Tag Name not working

    Hello-
    We are on SAP xMII 12.0 sp8.6, connecting to Honeywell's PHD. We are doing Tag Queries, and all is working well, except when there are special characters in the Tag Name (+, /, \) We have attempted to do the Encoding of the tag name, such as as is returned from the function xmlencodename and also tried URL Encoding.
    Here is our tag which returns nothing.
    82TK1INV.OCTANE_R+M/2
    We have also tried these encoded versions, still to no avail:
    82TK1INV.OCTANE_R%2BM%2F2
    82TK1INV.OCTANER_M_2
    Any help on how to return the values with special characters in the tag name would be very helpful!
    thanks,
    Paul Mazeika

    To Chianti's question of why can't/shouldn't MII work with those bizarre tag names...
    Actually, there are a number of reasons:
    1) It's a poor design practice to use characters like that in tag names, regardless of the underlying system.  That type of information is best assigned to the tag description, not the tag name.  I've even seen idiots put leading spaces on tag names...figure that one out!
    2) MII uses XML extensively, and XML's syntax rules dictate what is and is not acceptable for XML element and attribute names, and many of these special characters are not permitted.
    3) Usage of characters in tags that also represent mathematical operators greatly complicate the parsing and processing of expressions that involve tag names
    In general, it reminds of the story of the guy who walks into the doctor, bangs his fist against a specific spot on his head, and says "Doc, it hurts when I do this", to which the doctor responds, "so don't do that". 
    So, Don't Do That.

  • Empty datafile with special characters in name

    Hello all
    I'm having an issue with an empty datafile that is in recover mode.
    Previously the following has been successful :
    alter database create datafile 'fully_qualified_file_name' as 'fully_qualified_file_name' ;
    recover datafile 'fully_qualified_file_name' ;
    alter database datafile 'fully_qualified_file_name' online;
    However this time it doesnt work as I get errors :
    ORA-01516: nonexistent log file, data file, or temporary file
    Using the file id doesnt work either.
    When I created a control file trace I can see the datafile has special characters in the name :
    '/oracle/PRD/112_64/dbs/PSPR3I ^?;^?'
    As it is empty, would it be possible to create anothr empty datafile
    using :
    alter database create datafile '/oracle/PRD/112_64/dbs/PSPR3I ^?;^?'
    as '/oracle/PRD/spdata2/r3i_8/r3i.data8';
    then recover datafile 'fully_qualified_file_name' ;
    alter database datafile 'fully_qualified_file_name' online;
    How do oracle commands cope with special characters?
    Thanks for your advice

    user6737818 wrote:
    Hello all
    I'm having an issue with an empty datafile that is in recover mode.
    Previously the following has been successful :
    alter database create datafile 'fully_qualified_file_name' as 'fully_qualified_file_name' ;
    recover datafile 'fully_qualified_file_name' ;
    alter database datafile 'fully_qualified_file_name' online;
    However this time it doesnt work as I get errors :
    ORA-01516: nonexistent log file, data file, or temporary file
    Using the file id doesnt work either.
    When I created a control file trace I can see the datafile has special characters in the name :
    '/oracle/PRD/112_64/dbs/PSPR3I ^?;^?'
    It should work using a file number as the source file definition and a new name for the new file. Works for me:orcl> alter database create datafile 7 as 'c:\tmp\newname.dbf';
    Database altered.
    orcl>

  • Problem with specials characters like '€' or 'œ'

    Hello,
    I'm having troubles with specials characters such as '€' or 'œ'.
    I use an application connected to a 9.2.0.7.0 database on a w2003 server.
    Characterset of the database is FRENCH_FRANCE.WE8MSWIN1252.
    In my workstation the value of [HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0\NLS_LANG] is also FRENCH_FRANCE.WE8MSWIN1252.
    But when I type such specials characters through the application, they are replaced by '¿' in the database. The datatype of this column is varchar2.
    Can anyone help me ?
    thanks
    Antoine
    Edited by: Antoine.M on Aug 19, 2009 12:45 PM

    Is your application a java application ? if so, pl see MOS Doc 365874.1 (Euro Symbol/Trademark Symbol is Garbled When JDBC Thin Driver Retrieves Data from a Database with Characterset WE8MSWIN1252)
    HTH
    Srini

  • Adobe Interactive Forms ZCI  with special characters

    Hi,
    I hope somebody can help me with the problem described below.
    We are using Adobe Interactive Forms ZCI (IF). On our IF we placed a Enumerated DDL from the Webdynpro Native tab. In the Visual Admin the number of entries for the DDL is 50 (default). The problem is that when the DDL consists of more than 50 entries a webdynpro pop-up screen is shown. In our DDL we have entries with “special” characters for example the apostrophe (ie. ‘s). When I select one of these entries it’s not displayed correctly in the form. It is displayed as 's.
    We are using Adobe reader 7.08. I also tested it with reader 8.1.0 and there the problem still occurs.
    We are using NW04s SP12.
    Thanks in advance,
    Kind regards,
    Maarten.

    Hello Saujanya,
    This is not what i meant.
    The problem isn't that not all entries are listed in the EVS, but that when the EVS is displayed and i select an entry with a "special" character like i.e.. a apostrophe (') the selected value isn't correctly displayed in the DDL as selected item. Say the i select from the EVS the value " 's " when the EVS is gone the value in the DDL is &apos;s. This is not correct.
    Hope this explanation will help.
    Kind regards,
    Maarten.

Maybe you are looking for