File.encoding - Help

Hi,
We are converting German and English DATA to XML. And
German data (UTF-8) is running through the system fine if I logged
and tested. But strangely its giving ?? chars when I run as a
different user. (Sun Solaris / JDK 1.4)
When I looks at the properties.
for me:
file.encoding = ISO8859-1
for the other user its
file.encoding=ISO646-US
Where is this property being set, and how can I change it. This is
killing me.. I could not find any thing on my system that enforces the
char set. I am not using any special writers or readers..
Thanks in advance
- Ravi

I do not think that the Latin-1 Supplement characters
\u00c4\u00e4\u00df\u00dc\u00fc\u00d6\u00f6
(used in German)
which are encoded in UTF-8 can be displayed correctly with other encoding than UTF-8, to my knowledge.
I suppose your browser automatically sets encoding to UTF-8 when reading those data while other users' browsers do not.

Similar Messages

  • Help on how to config weblogic 5.1's file encoding or codeset

    I have some written chinese characters in my stateless session bean, i got to send
    them to a web site through http connection using get method, but chars arrived
    at web site are in wrong format, I tried to use new String (msg.getBytes("", "GBK"))
    or new String (msg.getBytes("ISO8859_1","GBK")) to transfer but didn't work ,
    my java VM's file.encoding = GBK , weblogic server is the same , BTW I wrote
    a stand alone application to open a URLConnection and send these chars, it worked,
    it just didn't work in my stateless session bean
    any help will be appreciated, thanks in advance!!!

    I have tuned this parameter, but it is not effective.
    if use tomcat or jboss , tune the similar parameter:maxHttpHeaderSize="8192", upload file will be very fast.

  • File encoding cp1252 problem

    Hi there,
    I have a problem concerning the file encoding in a web application.
    I'll sketch the problem for you.
    I'm working on adjustments and bug fixes of an e-mail archive at the company i work for. With this archive, users can search e-mails using a Struts 1.0 / JSP web application, read them, and send them back to their mail inbox.
    Recently a bug has appeared, concerning character sets.
    We have mails with french characters or other uncommon characters in it.
    Like the following mail:
    Subject: Test E-mail archief co�rdinatie Els
    Content: Test co�rdinatie r�d�marrage ... test weird characters � � �
    In the web application itself, everything is fine...but when i send this mail back to my inbox, the subject gets all messed up:
    =?ANSI_X3.4-1968?Q?EMAILARCHIVE_*20060419007419*_Tes?=
    =?ANSI_X3.4-1968?Q?t_E-maill_archief_co=3Frdinatie_Els?=
    The content appears to be fine.
    We discovered this problem recently, and a lot of effort and searching has been done to solve it.
    Our solution was to put the following line in catalina.sh , with what our Tomcat 4.1 webserver starts.
    CATALINA_OPTS="-server -Dfile.encoding=cp1252"
    On my Local Win2K computer, the encoding didn't pose a problem, so catalina.sh wasn't changed. It was only a problem (during testing) on our Linux test server ... a VMWare server which is a copy of our production environment.
    On the VMWare, i added the line to the catalina.sh file. And it worked fine.
    Problem Solved !
    Yesterday, we were putting the archive in production. On our production server ... BANG --> NullPointerException.
    We thought it has something to do with jars he couldn't find, older jars, cache of tomcat ... but none of this solved the problem.
    We put the old version back into production, but the same NullPointerException occured.
    We then put the "CATALINA_OPTS="-server -Dfile.encoding=cp1252" " line in comment ... and then it worked again.
    We put the new version into production (without the file encoding line), and it worked perfectly, except for those weird ANSI characters.
    Anyone have any experience with this?
    I use that same file encoding to start a batch, but there i call it Cp1252 (with a capital C) ... might that be the problem? But i have to be sure...because the problem doesn't occur in the test environment, and i can't just test in production ... and switch off the server whenever i'd like to.
    Does anyone see if making cp1252 --> Cp1252 might be a solution, or does anyone have another solution?
    Thanks in advance.

    First, I will start by saying that JInitiator was not intended to run on Win7, especially 64bit. So, it may be time to think about moving to the Java Plugin. Preferably one which is certified with your Forms version.
    To your issue, I suspect you need to change the "Region and Language" settings on the client machine. This can be found on the Control Panel. If that doesn't help, take a look at this:
    http://stackoverflow.com/questions/4850557/convert-string-from-codepage-1252-to-1250

  • How to set File Encoding to UTF-8 On Save action in JDeveloper 11G R2?

    Hello,
    I am facing issue when I am modifying a File using JDeveloper 11G R2. JDeveloper is changing the Encoding of the File to System default Encoding (ANSI) instead of UTF-8. I have updated the Encoding to UTF-8 in "Tools | Preferences | Environment | Encoding" option and restarted the JDeveloper. I have also updated "Project Properties | Compiler | Character Encoding" option to UTF-8. None of them are working.
    I am using below version of JDeveloper,
    Oracle JDeveloper 11g Release 2 11.1.2.3.0
    Studio Edition Version 11.1.2.3.0
    Product Version: 11.1.2.3.39.62.76.1
    I created a file in UTF-8 Encoding. I opened it, do some changes and Save it.
    When I open the "Properties" tab using "Help | About" Menu, I can see that the Properties of JDeveloper are showing encoding as Cp1252. Is it related?
    Properties
    sun.jnu.encoding
    Cp1252
    file.encoding
    Cp1252
    Any idea how to make sure JDeveloper saves the File in UTF-8 always?
    - Sujay

    I have already done that. That is the first thing I did as mentioned in my Thread. I have also added below 2 options in jdev.conf and restarted JDeveloper, but that also did not work.
    AddVMOption -Dfile.encoding=UTF-8
    AddVMOption -Dsun.jnu.encoding=UTF-8
    - Sujay

  • Jinitiator 1.3.1.2.6 on win 7 64 and win xp (different file.encoding)

    Hello,
    our customer has moved from windows XP to Windows 7 and he uses Jinitiator 1.3.1.2.6...
    In some "Forms" I have implemented a PJC to save datas from clob to local file system..
    But there is a problem....
    If I run the same application with Windows XP I get file.encoding=Cp1250 which is ok....
    If I run the same application with Windows 7 (64) I get file.encoding=CP1252 and here is the problem...
    Is there any way to run Jinitiator (or set up file.encoding to/with) Cp1250?
    Maybe is this a local problem with windows?
    thank you..

    First, I will start by saying that JInitiator was not intended to run on Win7, especially 64bit. So, it may be time to think about moving to the Java Plugin. Preferably one which is certified with your Forms version.
    To your issue, I suspect you need to change the "Region and Language" settings on the client machine. This can be found on the Control Panel. If that doesn't help, take a look at this:
    http://stackoverflow.com/questions/4850557/convert-string-from-codepage-1252-to-1250

  • Text File Encoding used by TextEdit/OS X

    Hi all folks,
    does someone know the code page are used with the text file encoding "Western (EBCDIC US)"
    available from the "Customize Encodings List" in the TextEdit "Plain Text File Encoding" Preferences.
    The text file encoding "Western (EBCDIC Latin 1)" works well, but "EBCDIC US" does not,
    the character set is very limited.
    Thanks for any help,
    Lutz

    Yeah unfortunately they're all listed as 0kb files. I guess that means the faulty hard drive didn't transfer them properly, even though the Mac did the copy confirmation sound.
    Hundreds of folio files... all gone. ;___;

  • File.encoding won't swap

    trying to help someone who has a windows file server originally installed for russian locale. they managed to swap it back to what they require (en_GB) but the JVM file encoding's still stuck on cp1251. they say they've changed the JVM config's file encoding ("-Dfile.encoding=cp1252") yet the system still reports cp1251 for the file encoding (even after several reboots). i don't see anything in the bug parade & i'm at a loss as to why this box won't swap it's JVM file encoding.
    any ideas?
    thanks.

    which version of the videoencoder are you using?
    2.0.0.494 edition (Brand New)
    Remember that you can't crop all files at once . .
    Oh, didn't see that in the manual!
    Where the heck is it listed?
    I tried to save a profile with the compression setting -
    including cropping - but upon trying to use that saved profile - a
    dialog box comes up with:
    Warning: some of the settings (crop, trim, cue point . . . .
    Too bad, so sad!
    2,000+ movies is gonna take a long time!
    Their huge files - broadcast DVC-Pro - and the overscan - and
    interlace top & bottom show up . . . . Aaarrrgggg!
    Bye the way - is it 4 pixels cropped - top & bottom - to
    clean it up ?
    And shouldn't a few (maybe 2 pixels) on each side be cropped
    as well?
    Any other suggestions on how to automate what I need to do
    (deinterlace, crop 4 pixels top & bottom & 2 pixels sides -
    exported "High Quality / large)
    Thanks for responding so far - sure helps clarify things!
    Luke

  • Communication channel - Sender File Adapter - File Encoding

    Hello colleagues,
    I'm using a sender file adapter to send flat files to the IE for further mapping and transformation @runtime. The flat files which are received by the file adapter are based on two different codepages:
       -> MS-DOS Codepage 437
       -> Windows Codepage 1252.
    Do you know by chance which kind of file encoding I have to set in the configuration of the respective sending file adapter for these two code pages?
    For the windows codepage 1252 I'm using the file encoding ISO-8859-1, which works quite fine. However, for the input files based on codepage MS-DOS 437, I do not know which kind of file encoding  to use. If anyone could help me with that issue, I would be very glad.
    Best regards
    Stefan

    HI,
    Find below link for more help
    http://www.kostis.net/charsets/trans130/cpdos.htm

  • Why am I not seeing file.encoding option in file sender/receiver communicat

    Good Morning Everyone,,
    I am not able to find file.encoding option in both sender/receiver communication channels on my XI system.  Is it something to do with Java Runtime character sets installed on the XI system? 
    Do we need to setup something to make it available?  thanks in advance...

    Hi,
    Please specify File Type parameter as Text (By default it is Binary)
    For File type parameter Text the file encoding will be displayed, UTF-8 is by default encoding used.
    Please see below links also
    http://help.sap.com/saphelp_nw04s/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm
    Receiver File adapter encoding
    Thanks
    Swarup

  • File adapter, File encoding national characters

    Hi,
    I have a problem with national characters (ÅÄÖ) when sending (receiver adapter) files with the fileadapter.
    When i specify Transfere mode = Binary and File Type = Binary everything works fine but when i use Transfere mode =+ Text+ the national characters gets converted to "?". I have tried to set File Type = text and tryed File Encoding with UTF-8 and ISO-8859-1 without success.
    Please help!
    Regards
    Claes

    Hi,
    Check this out: <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42">How To… Work with Character Encodings in Process Integration</a>
    Regards,
    Jakub

  • Is it possible to change the default file encoding?

    I have just learned that the "file.encoding" system property should be treated as read-only.
    (http://developer.java.sun.com/developer/bugParade/bugs/4163515.html)
    I am using this property to tell javac that the command arguments file has some other encoding than the system deafult, like this:
    javac -J-Dfile.encoding=UTF-8 @files-to-compile.lst
    On windows xp with us english locale it worked for all the SDK releases I checked, but for Windows 2000 Japanese Edition only one of the J2SDK 1.4.1 releases worked.
    My question is: is there an acceptable way to tell the JVM what the default encoding is? Or inform javac about the encoding of the argument file?
    The reason for having a UTF-8 encoded javac argument list file is that our application generates Java source files that can have unicode characters in their names. Seemingly Windows supports unicode file names so I did not want to restrict file names to those supported by the system encoding.

    Use javac's "-encoding" option.
    $ javac 
    Usage: javac <options> <source files>
    where possible options include:
      -g                        Generate all debugging info
      -g:none                   Generate no debugging info
      -g:{lines,vars,source}    Generate only some debugging info
      -nowarn                   Generate no warnings
      -verbose                  Output messages about what the compiler is doing
      -deprecation              Output source locations where deprecated APIs are used
      -classpath <path>         Specify where to find user class files
      -sourcepath <path>        Specify where to find input source files
      -bootclasspath <path>     Override location of bootstrap class files
      -extdirs <dirs>           Override location of installed extensions
      -d <directory>            Specify where to place generated class files
      -encoding <encoding>      Specify character encoding used by source files
      -source <release>         Provide source compatibility with specified release
      -target <release>         Generate class files for specific VM version
      -help                     Print a synopsis of standard options

  • How to get file encoding type

    Hi ,
    How to get the file encoding type,
    for example file is saved with the .txt and encoding is utf-8 and another file is saved .txt with encoding is ascii,
    actually before reading the file i want idetify the encoding type
    please help me it is very urgent for me..
    thanks in advance

    As there is no established regime for signing most encoding types, the only way to do this is to start parsing the file in one encoding, see if you get something that makes sense, and if not try another encoding, and so on. I.e. you have to code it yourself and even then it is not usually reliable. Sorry.
    Drake

  • Source file encoding

    Hi all,
    Here is my problem :
    Page 1:
    <%@ page contentType="text/html;charset=UTF8" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    </head>
    <body>
    ����@�
    </body>
    </html>
    All the special characters display fine.
    If I write:
    Page 1:
    <%@ include file="/page2.jsp" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    </head>
    <body>
    ����@�
    </body>
    </html>
    Page 2 : <%@ page contentType="text/html;charset=UTF8" %>
    The display is ugly !!
    Why ??
    I understand that the directive
    <%@ page contentType="text/html;charset=UTF8" %> defines the source file encoding but obviously the include directive does something I don't understand. Any help appreciated.
    Thanks in advance,

    The server/compiler you're using may need to see the content type of the source file you're using BEFORE it is able to process any of the code. Basically, when it gets to the<%@ include file="/page2.jsp" %> line, it doesn't know what content type it's supposed to be using yet (because it's in that separate JSP), and it pukes. You probably have to declare the content type before you can do anything else.

  • DW destroys file encoding while saving them

    hello there!
    I wanted to modifiy the latest wordpress file "wp-config-sample.php" by opening it and saving it without any changes and guess what; dreamweaver CS3 modifies the encoding of this file making un-usable to wordpress installation.
    I tried to open this file in notepad and save it in defferent encoding, and her's the results;
    save as --> ANSI --> works
    save as --> Unicode --> does not work
    save as --> Unicode Bg Endian--> does not work
    save as --> UTF --> works
    so at least saving in ANSI or UTF encoding works, but, in dreamweaver whatever I try it doesn't work, does that mean notepad is more advanced than DW!!
    the file "wp-config-sample.php" doesn't contain any header information, just some PHP variables to define.
    Dreamweaver CS 3 acts strange mayb when it doesn't find any header encoding information in the file.
    any help?
    NB: I checked the settings in the preferences and tried saving using the BOM segnitureand without it.. but always the same probleme

    Well, I discovered what was missing around with my code; the line break!
    if you go to Edit --> Preferences --> Code format --> you ahve to set line break type to CR LF (Windows).
    it was set to CR macintosh.
    have a nice day.

  • Unable to set JVM file encoding to UTF-8 on Windows

    Hi,
    I am running Tomcat on 1.5.0_05 JRE. I tried several things to set the jvm file encoding to UTF-8 instead of the default Cp1252, but no luck yet.
    The most intuitive approach seems to be to use a JVM option like
    "-Dfile.encoding=UTF-8"
    but this does not seem to have any effect. I have a WinXP pro m/c. I saw some bug reports which seemed to indicate that changing the JVM file encoding is not an available feature....is that correct? I would really appreciate any help/pointers on this. I will post the solution if I find something in the meantime.
    Thanks,
    Sriram

    I am fail to set it too. I think it is better to separate the file.encoding into two, one for accept local OS, the other for compile .java and .jsp and so on files. So we can change it and the bugs will be decrease!

Maybe you are looking for

  • Sales order deleted

    Hi, we have went live two days before and since yesterday we had an issue that Some one deleted the sales order created in production client via VA01. Please is there any ways to find out through table or report in sap where the LOG for the same is m

  • In numbers, using a scatter graph, the points come up as circles. Is there a way of changing this so they are crosses like a standard scatter plot?

    I have looked into the settings of the graph but I cant find anything to change this.

  • Did anyone try to cluster BEA Portal 7.0 sp1

    Hi, Am trying to cluster BEA Portal sp1 ,everything goes fine but when i try to access the portal on both the servers on the second server i get a Portal Null State Exception .The App works fine on the Primary Server ,but shows bizarre behaviour on t

  • FXS Ports & Pickup Groups

    Is there a way to make an analog phone connected to an FXS port a part of a call pickup group that contains both analog phones & IP phones? I setup a lab and used MGCP to add the gateway and I was able to add the DN associated with the FXS port to a

  • Regarding DWH

    Hi all 1.Hierarchy of DWH? 2. What is surrogate key? 3. Advantages of de normalized data? 4. What is operational data source (ODS)? 5. What is meta data ?database catalog? 6. What is factless fact schema? 7. What is confirmed dimension? 8. Which kind