Problems with special characters in the data.
Hi All,
Whenever, I'm trying to data such as "Lämmerzunge" which are having some special characters in it, it is storing them as L�mmerzunge. Is there anyway to handle these?
Thanks in advance.
Regards,
Venky
Check if database characterset supports these special characters
check client's nls settings.
check client machine's language settings (converts characters in driver level)
Similar Messages
-
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
NicoHi 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 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 AMHello, 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(); -
Problem to get file with special characters in the message
Hi, I'm developing an application that read the email and save the attached file. However, some files have special characters in the name, like: Documento de EspecificaÇÂO.doc
I noticed the de name of the file in de message head is:
"=?iso-8859-1?Q?Documento_de_Especifica=E7=E3o.doc?="
I'm already using the JavaMil 1.4.5
Tha is my code:
package br.com.cesan.helpdesk;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import javax.mail.Flags;
import javax.mail.Folder;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Multipart;
import javax.mail.Part;
import javax.mail.Session;
import javax.mail.Store;
import javax.mail.search.FlagTerm;
public class LerEmail2 {
* @param args
* @throws MessagingException
* @throws IOException
public static void main(String[] args) throws MessagingException, IOException {
// TODO Auto-generated method stub
// Get session
Session session = Session.getInstance(new Properties(), null);
// Get the store
Store store = session.getStore("pop3");
store.connect("pop.xxxxx.com.br", "user", "password");
Folder folder = store.getFolder("INBOX");
//folder.open(Folder.READ_ONLY);
folder.open(Folder.READ_WRITE);
// Show only unreaded Messages
FlagTerm ft = new FlagTerm(new Flags(Flags.Flag.SEEN), false);
// Get directory
Message message[] = folder.getMessages();
//Message messages[] = folder.search(ft);
for (int i=0, n=message.length; i<n; i++) {
System.out.println(i + " - "+ message.getSubject() +" - " + message[i].getSentDate() );
Object content = message[i].getContent();
if (content instanceof Multipart) {
handleMultipart((Multipart)content);
} else {
handlePart(message[i]);
// Close connection
folder.close(false);
store.close();
public static void handleMultipart(Multipart multipart) throws MessagingException, IOException {
for (int i=0, n=multipart.getCount(); i<n; i++) {
handlePart(multipart.getBodyPart(i));
public static void handlePart(Part part) throws MessagingException, IOException {
String disposition = part.getDisposition();
String contentType = part.getContentType();
if (disposition == null) { // When just body
System.out.println("Null: " + contentType);
// Check if plain
if ((contentType.length() >= 10) && (contentType.toLowerCase().substring(0, 10).equals("text/plain"))) {
part.writeTo(System.out);
} else { // Don't think this will happen
System.out.println("Other body: " + contentType);
part.writeTo(System.out);
} else if (disposition.equalsIgnoreCase(Part.ATTACHMENT)) {
System.out.println("Attachment: " + part.getFileName() + " : " + contentType);
saveFile(part.getFileName(), part.getInputStream());
} else if (disposition.equalsIgnoreCase(Part.INLINE)) {
System.out.println("Inline: " +
part.getFileName() +
" : " + contentType);
saveFile(part.getFileName(), part.getInputStream());
} else { // Should never happen
System.out.println("Other: " + disposition);
public static void saveFile(String filename, InputStream input) throws IOException {
if (filename == null) {
filename = File.createTempFile("xx", ".out").getName();
// Do no overwrite existing file
File file = new File(filename);
for (int i=0; file.exists(); i++) {
file = new File(filename+i);
System.setProperty("file.encoding", "iso-8859-1");
FileOutputStream fos = new FileOutputStream(file);
BufferedOutputStream bos = new BufferedOutputStream(fos);
BufferedInputStream bis = new BufferedInputStream(input);
int aByte;
while ((aByte = bis.read()) != -1) {
bos.write(aByte);
bos.flush();
bos.close();
bis.close();
The problem occurs in:
FileOutputStream fos = new FileOutputStream(file);
BufferedOutputStream bos = new BufferedOutputStream(fos);
BufferedInputStream bis = new BufferedInputStream(input);
int aByte;
while ((aByte = bis.read()) != -1) {
bos.write(aByte);
Thanks
Edited by: user10283976 on 30/03/2012 07:36
Edited by: user10283976 on 30/03/2012 07:37
Edited by: user10283976 on 30/03/2012 07:37
Edited by: user10283976 on 30/03/2012 07:38
Edited by: user10283976 on 30/03/2012 07:40
Edited by: user10283976 on 30/03/2012 07:41
Edited by: user10283976 on 30/03/2012 07:42http://www.oracle.com/technetwork/java/javamail/faq/index.html#encodefilename
-
Problems with Special Characters in DBs...
We have just moved a set of tables from one db on one server to another db on another server. the only problem is that some special characters held within data on the tables aren't showing up properly on the new db. characters such as a circle with an 'R' in (as in registered trademark), or vowels with umlauts over them.
THe db is used by a website and it is the development version of the website which uses the new db that is not displaying the characters properly. The characters are also displayed incorrectly within sql plus 3.3.
If anyone could point out why the new db is not storing the characters correctly i would unmeasurably grateful.
Thanking you in advance
Ewan Gibb.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(); -
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. -
Unmarshalling problem with special characters (Trademark, French
I'm using a DefaultHandler class to create a StringBuffer which contains a single (though very complex) element from an XML file. I am unmarshalling this StringBuffer object to a JAXBContext like this:
u.unmarshal( new StreamSource( new StringReader( sb.toString() ) )
My special characters are going way out of whack (please read (TM) as the Trademark symbol)
T-Force(TM) Ring(TM) Bonded iron construction for durability and longer life
becomes
T-Force���Ring ��� Bonded iron construction for durability and longer life
Before I put anything else into the StringBuffer I put this in:
sb.append("<?xml version=\"1.0\" encoding=\"iso-8859-15\"?>");
But I've tried:
sb.append("<?xml version=\"1.0\" encoding=\"utf-8\"?>");
and
sb.append("<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>");
with different, but wrong, results.
It's true that I'm viewing these results on a web page, so it's possible that the problem is occurring on the back end once I persist the data, but it looks like my database is set for UTF-8 (that's what I put for this new installation of Oracle 9i R2).
Is there something basic I am missing. Like, perhaps, I need to do some sort of XML entity coding?
Thank you very much for any help you can offer.Actually I had forgotten one additional thing. I have
tried testing one thing at a time, and I have sent the
special characters to the log file with logger.debug
statements (log4j). The characters are screwed up in
the log files, which is what makes me think I need to
do some sort of entity encoding. (?)I don't think that log4j provides any way to declare the encoding it uses for your files. My guess is that it's using the default encoding for your system, which could be a problem for things like the trademark character. So log4j really gives you just another thing to test, rather than acting as a testing tool.
I was thinking of a more low-level test, where you take your trademark character, which is 2022 or some such number (check the Unicode charts) and you write it to the database and read it back. Do you get the same character back? That sort of testing. -
Handling Special characters in the data set
Hi All,
I am facing an issue in hadling special characters while writing data to a flat file.
The data fetched in toad query is *44CAÑADO* (with some specail character over N), but when this same data is written in textpad using UTL_FILE.put_line, the data written is converted to *44CAÑADO*.
Can anyone please help me how to handle these special charatcers so that the same data is written in text file as well.
Regards,
ShrutiTo find the database characterset, please see (Character Sets & Conversion - Frequently Asked Questions [ID 227330.1] -- 2. What is the database character set used for and how is it set?)
For your issue, please see these MOS docs.
UTL_FILE Adds ^U (Control U) NAK Character At the End of the Line. [ID 604150.1]
Character set conversion when using UTL_FILE [ID 227531.1]
NLS_LANG Explained (How does Client-Server Character Conversion Work?) [ID 158577.1] -- 5.8 UTL_FILE is writing / reading incorrect characters.
Thanks,
Hussein -
Problems with special characters with XML/PDF printing
Hi,
Our setup:
Apex Listener 2.0.5
Oracle DB 11G
Weblogic
Apex 4.2.2
Various recent major browsers
We used this blog post so we could do some PDF printing with APEX Listener:
http://marcsewtz.blogspot.be/2013/04/pdf-printing-with-oracle-application.html
The problem is special characters. For example the "&" sign comes out as "%26amp;" when we export an XML.
Could anyone provide some insights of what we can do to fix this?
Regards,
JoniThis is a known bug.
https://support.oracle.com/epmos/faces/BugDisplay?_afrLoop=957905848396285&id=18282188&_afrWindowMode=0&_adf.ctrl-state=168vq5zhn3_233
The bug 18282188 has been fixed in Apex 4.2.5 version.
Upgrade the Apex version to 4.2.5 when it is available. -
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 ì 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 advanceAndy2008 wrote:
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 ì 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?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). -
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 PMIs 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 -
SMARTFORM problems with special characters
Hi everybody,
only to know if somebody knows how to fix a problem printing special characters in a smartform, instead of some characters the smartform display (Print preview) and prints interrogative symbols <b>"?"</b>.
If someone knows about this problem, it will be helpfully for me,
thanks and have a good dayHI
To display Special characters in Smartforms ...
goto text editor of the perticular text node.
in the text editor, Click INSERT - Characters - Displayable Characters.
a new window will open showing all characters...if ur required character is not
present, click on non-dispalyble character button , it displays all the characters
and their respective numbers...select ur required character .
Check it, if it is helpfull reward points..
Thanks
REGARDS
DINESH -
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 = OffWhen 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 -
Problem with interface - when send the data for PA0002
Hi Gurus,
I am interfacing employees data from one system to another system with all the PA infotypes.
we are using the fuction module " HR_MAINTAIN_MASTERDATA " to upload the master data. Here the problem is, when we send the data - in destination system all the segments have the data correctly . But middle name is not loaded in to the system. Problem with only middle name.
But, here strange thing is, when i resend the idocs it is laoded correctly all the fields with middle name also.
I am unable to figure out the problem .. Please let me know if you have any advise on this ..
Thanking you.
Regards,
Giridhar PujariHi Sikindar,
Technical name is corrent .. and once you resend the idoc, you can't see the problem again.
Regards,
Giridhar Pujari. -
Problems with special characters uploading data into oracle database
Greetings
I have a problem uploading data into oracle tables from sybase datasource. The data that I want to upload is in Spanish, for example when I have a varchar field with the data 'Consultoría', in oracle table the data upload with interrogation symbols.
I have my source and target datastores configured as follows.
Any suggestion? Thank you for your timeChack section 10 Locales and Multi-byte Functionality in the SAP Data Services Reference Guide for an exhaustive description of NLS settings.
As a summary, following settings are required:
locales in the datastore definitions match the actual locale used in the associated databases
the locale of the DS engine allows for source to target translation
the character set in the target database supports storage of accented characters
Maybe you are looking for
-
ITunes installation error- see error messages and please help!
Today I tried to update to the latest version of iTunes, but had problems during installation. It looks like iTunes and Quicktime were sucessfully installed but some of the other installation files didn't get downloaded. (I am competent with compute
-
Dynpro Table Control Column's Order
Hi everyone, I am facing a strange issue in a Dynpro Table Control with the order of the columns. I had to add a new key filed in a standard view. When I am running the Table Maintenance Generator in SE11, the Dynpro Table Control is generated correc
-
How to upload and download files and images using ibm db2?
For my project i need to upload tutorials in pdf files and doc files to db2 and need to display them in jsp page.and also i need to insert images into db2.Please help me if u kno any of these. Thanks in advance.
-
Bug (?) - TP3 - Date popup not work in query panel
Steps: 1. In the data control pallette, expand a view object that has a date attribute 2. Drop the "All Queriable Attributes" named criteria onto a page and choose "Query -> ADF Query Panel With Table" 3. Run the page. Click on the icon next to the d
-
Solaris 10 and Intel RAID Controllers SRCSAS144E
Where can I download a drivers ?