Query with special characters

I am having a problem returning results that include special characters. I have a list of individuals and want to allow an alpha select to display, for example, only the individuals who's last name starts with C.
I have an individual in this list who's last name is Čapek
When I do a mySQL query in mySQL Query Browser as follows, this individual is returned in results.
SELECT distinct
       last_name
FROM
       individuals
WHERE
       last_name like 'C%'
HOWEVER, when I use the same query in a cfquery, this individual's record is not returned.
I am using mySQL 5 with ColdFusion 9 and have the mySQL connection string settings: useUnicode=true&characterEncoding=UTF-8
Any assistance would be appreciated - I've not found anything useful in my Google searches.
Many Thanks!

I've not personally come across this issue before, but googling for "mysql where diacritic" (and various permutations thereof) came up with this doc, which seems to discuss your issue: http://bugs.mysql.com/bug.php?id=37413
So it could be that the JDBC driver is using a different collation than your other MySQL client (wild guess)?
Try messing around with the collation being used, and see if that helps at all?  The JDBC param to set seems to to connectionCollation be (from http://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-configuration-properties.html ).
Sorry if this sounds vague or is completely wrong - it's a bit of a guess - but it does sound reasonably likely to be something to do with your issue, given your description.
Adam

Similar Messages

  • 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.

  • Tabular model column rename with special characters - ), *, /, +, %, [ etc

    I am working in tabular model 2012. I have requirement to rename the column names with special characters like ), *, /, +, %, [ etc. When I try to rename in my model, it gives me below error:
    I also tried renaming the columns after creating a new test model with no luck. I may have lived with this error however we have another tabular model which contains special charaters in the name. This makes me believe that there must be some setting that
    I am missing.
    I tried changing the column name in other model having some special characters and it takes it.
    I have gone through this link#
    https://connect.microsoft.com/SQLServer/feedback/details/802009/ssdt-ssas-tabular-column-name-with-special-characters
    and
    http://msdn.microsoft.com/en-us/library/gg492144(v=sql.110).aspx which says that special characters are not allowed in column names however I am able to do it in one of our
    models then why not others.
    Any help is appreciated! Thank you for you time.
    If this post answers your query, please click "Mark As Answer" or "Vote as Helpful".

    Well Mr. Google helped me.. I got the solution:
    Databases of a specific modality and compatibility level can have object names that include reserved characters. Dimension
    attribute, hierarchy, level, measure and KPI object names can include reserved characters, for tabular databases (1103 or higher) that allow the use of extended characters.
    How to change the compatibility, just right click on the .bim file from SSDT and go to properties and change the compatibility to 1103. 
    I hope this will help someone. :-)
    Useful MSDN Links: 
    http://msdn.microsoft.com/en-us/library/bb522632.aspx
    http://msdn.microsoft.com/en-us/library/jj674204.aspx
    If this post answers your query, please click "Mark As Answer" or "Vote as Helpful".

  • Column name in a query contains special characters

    Hi folks,
    The column name in a query contains special characters. For example ~ or ^. The creator of the table put these column names under double quotation while creating the table. When I get the column names form the result set meta data object it returns without quotation. Is there any way to tell the jdbc driver so that it return those column names as it was created, I mean in double quotation.
    The help is urgent. I will appreciate any suggestions. Thanks �.
    [using oracle driver for 10g]
    Thanks
    Angelina

    Just because the column names were in quotations when the database was created doesn't mean that the quotes are actually part of the names. What's inside the quotes is what makes the column name in the database. If I created a column as "abcd" and put it in quotes just like that ("abcd"), it would go in the database as abcd since SQL would strip off the quotes.
    And there's your answer. Just put all column names in quotes whenever you need to talk to SQL. It will strip off the quotes and understand.
    I think SQL will also accept square brackets ([ and ]).

  • 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 "̈". (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).

  • 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

  • Msi GeForce 4 4200 frame rate locked at 60 with Windows 2000

    Lost here..... I have an MSI Geforce 4 4200 120MB Video Card slotted on an Asus A7V motherboard - AMD Thunderbird 1Ghz processor with 640mb of ram. There is a common problem with the Nvidia chip and Windows 2000 in regards to a lock frame rate at 60f

  • How can I prevent printing of this FROM location label even if suppressed?

    I am using Crystal Reports 10. The examples follow the problem description. The idea is print a label when moving one part from one location to another. The Control ID# is the main parameter which I must receive in order to get the values from the 3r

  • Error Messages in DVD Studio

    So I'm trying to create a DVD but I got an error message saying there was a problem with two of my video files. The two video files in question are quite larges sizes, they are Quicktime movie files and are sizes of 73gig and 134gig. Is this too big

  • Files, PDF-docs, attached to my email, Macbook Pro, are missing

    The files, PDF-docs, that I attach to my mail, Macbook Pro OS 10.7.5., are missing when the receiver opens the mail. In this case the receiver is a MS Windows/Office user. Weird problem! Any idea for how to solv this? BR Lacose

  • Backup Assistant and DriodX

    I can't log into my backup assistant on my new DroidX because I cant get the touch pad to switch from numeric to alpha, and all of the Verizon pass words are alpha/numeric? It shows the standard ketpad with the numbers and the alpha but I can only ge