Problem with encoding euro sign in simple select

select '€' from dual;
should fulfill the requirements mentioned in
http://www.oracle.com/technology/products/database/sql_developer/files/relnotes_v121.html#sec4
But the Euro sign is displayed as a result only when connected to a DB with UTF8 encoding. When connected to a SBCS DB with encoding WE8MSWIN1252, ¬ is displayed instead. chr('€') displays 172, which is equal to the last byte of the UTF8 representation of the Euro sign \u20ac = e2 82 ac.
The Euro sign is included in WE8MSWIN1252 with code 128, so I would expect the result of "select '€' from dual " to display correctly in both cases.
I have just downloaded the current version Oracle SQL Developer 1.2.1, java version is 1.6.0_02-b06.

This is what I am trying to establish. This forum is about Oracle SQL Developer, so the example was for SQL Developer. Yes, you do not need the feedback on command.
My point is that for a number of my colleagues, all using the database encoding WE8MSWIN1252, we do not see the upside down question mark. In SQL Developer, we see the correct Euro symbol.
I will continue to investigate this issue.
I have tested this using NLS Settings for German, France, Ireland, United Kingdom and America, for my database with encoding WE8MSWIN1252. These all display the correct euro symbol and not an upside down question mark, whether I use the data tab in the table definition grid, or by running F9(run statement) or F5 (run script) in the SQL Worksheet in SQL Developer.
You do not need to send me any configuration files. Just confirm that you are on the latest release , 1.2.1.32.13 and have not replaced any files once you installed this release. I will also work with our internationalization team to track down the issue. Currently the only difference is the Java version you are using.
Sue

Similar Messages

  • Problem inserting the euro sign using JDBC

    Inserting the euro sign into a char field of a DB2 table using JDBC results in getting a control char (SUBSTITUTE / ASCII 26) in the field, instead of the expected euro sign.
    I tried both the "old" DB2 driver (db2driver.zip) and the new one (db2jcc.jar). I get the same result in both cases. I also thought this might be a problem of different character sets between the client machine and the database server, but the problem doesn't occur if i use non java third party tools (like WinSQL) to insert the euro sign...
    Any idea?
    Colargol

    Something like below will verify that you can send the character to the database, store it, and return it with java. You need to run this in a Unicode compliant tool, like Eclipse 3.0.
                   //Euro character in Unicode is below, insert it into DB.
                   int myCharacterInteger = 0x20AC;
                   String myChar = new String(new char[]{(char) myCharacterInteger});
                   System.out.println("My character inbound is " + myChar);
                   pstmt.setString(1, myChar);
                   pstmt.execute();
                   pstmt.close();
                   //Euro character in Unicode is below, insert it into DB.
                   PreparedStatement pstmt2 = dbc
                             .prepareStatement("select * from tmp_junk");
                   ResultSet rs = pstmt2.executeQuery();
                   while (rs.next())
                        System.out
                                  .println("My character from DB is " + rs.getString(1));If that returns the character properly from DB, examine how the character is being input into java, you may inadvertently be changing character sets there.
    PS - that may not be right character, but you get the idea. We don't use Euros much where I work. ;-)
    -Scott
    http://www.swiftradius.com

  • Problem with symbol euro

    Hi,
    I have a problem with xml publisher when i used a symbol euro (€).
    I have a ? in my output.
    Have you an solution ?
    Thank you

    The euro sign is not in the latin-1 character set range, but seems latin-1 font is used for your PDF. I think that's the reason why you get '?' letters instead. Once you set up the font correctly in XML Publisher, it will be ok. Please refer the user's guide for details.
    --Kei                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Problem with encoding of xml document

    while parsing an xml document with SAX parser, i found that encoding of the xml document received as input stream is "ISO-8859-1" . After parsing certain fields has to be stored in the mysql table where table character set is "utf8" . Now what i found that ceratin characters in the original XML document are stored as question mark (?) in the database.
    1. I am using mysql 4.1.7 with system variable character_set_database as "utf8". So all my tables have charset as "utf8".
    2. I am parsing some xml file as inputsream using SAX parser api (org.apache.xerces.parsers.SAXParser ) with encoding "iso-8859-1". After parsing certain fields have to be stored in mysql database.
    3. Some XML files contain a "iso-8859-1" character with character code 146 which appears like apostrophes but actually it is : - � and the problem is that words like can�t are shown as can?t by database.
    4. I notiicied that parsing is going on well and character code is 146 while parsing. But when i reterive it from the database using jdbc it shows character code as 63.
    5. I am using jdbc to prepared statement to insert parsed xml in the database. It seems that while inserting some problem occurs what is this i don't know.
    6. I tried to convert iso-8859-1 to utf-8 before storing into database, by using
    utfString = new String(isoString.getBytes("ISO-8859-1"),"UTF-8");
    But still when i retreive it from the databse it shows caharcter code as 63.
    7. I also tried to retrieve it using , description = new String(rs.getBytes(1),"UTF-8");
    But it also shows that description contains character with code 63 instead of 146 and it is also showing can�t as can?t
    help me out where is the problem in parsing or while storing and retreiving from database. Sorry for any spelling mistakes if any.

    duggal.ashish wrote:
    3. Some XML files contain a "iso-8859-1" character with character code 146 which appears like apostrophes but actually it is : - ’ and the problem is that words like can’t are shown as can?t by database.http://en.wikipedia.org/wiki/ISO8859-1
    Scroll down in that page and you'll see that the character code 146 -- which would be 92 in hexadecimal -- is in the "unused" area of ISO8859-1. I don't know where you got the idea that it represents some kind of apostrophe-like character but it doesn't.
    Edit: Actually, I do know where you got that idea. You got it from Windows-1252:
    http://en.wikipedia.org/wiki/Windows-1252
    Not the same charset at all.

  • [CS3 - JS - Mac] Problem with encoding

    Hi,
    I made a script that perform a lot of actions on ID.
    Everytime this script performs an action it writes a line on a global variable and at the end of the script write this var into a text file ( in the Document folder).
    Yes, it's a log file...
    While I was testing this script through the Toolkit everything went right.
    Then I added a menu action inside the script to call the script from the application and something strange happened, in the log file (wich is a text file UTF8 encoding) and also in the alerts ID shows. Both display text from this:
    "È necessario effettuare una selezione" (running the script from the toolkit)
    to this:
    "È necessario effettuare una selezione" (running the script from ID menu)
    So I think it's an encoding problem...
    I just added this code:
    #targetengine "Lele";
    var Lele_menu = app.menus.item("Main").submenus.add("Lele");
    //     Menu
    var main_action = app.scriptMenuActions.add("Update");
    var main_event_listener = main_action.eventListeners.add("onInvoke", function(){main();});
    var main_menu = Lele_menu.menuItems.add(main_action);
    //     Functions
    What's the point?
    Hope you understood.
    Thanks!
    Lele

    I had problems with UTF encoding so I use this function to write the log file:
    var log_file = new File(file_path);
    log_file.encoding = "UTF8";
    log_file.lineFeed = "unix";
    log_file.open("w");
    log_file.write("\uFEFF" + text_var);
    log_file.close();
    Where text_var is the log string.
    When it's written form the ESTK everything is right, when called from the menu it isn't.
    It's strange that it also involves alert text innit?

  • Problem with placing self-signed certificate in trust store on WLS 10.3

    I have had some problems setting up two-way SSL on WLS 10.3.2.
    1. I have not been able to use the java properties listed on
    http://weblogic-wonders.com/weblogic/2010/11/09/enforce-weblogic-to-use-sun-ssl-implementation-rather-than-certicom/
    to use the native Java SSL implementation rather than the certicom. Has anyone else had success using these?
    -Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol
    -Dssl.SocketFactory.provider=com.sun.net.ssl.internal.SSLSocketFactoryImpl
    -DUseSunHttpHandler=true
    -Dweblogic.wsee.client.ssl.usejdk=true (for webservice clients)
    2. When I use the ValidateCertChain to validate my keystore with the self-signed certificate I get the message
    CA cert not marked with critical BasicConstraint indicating it is a CA
    Certificate chain is invalid
    which I read was a problem with certificates generated by keytool, yet I find I was not able to circumvent this
    by setting the property weblogic.security.SSL.enforceConstraints to off in the WLS server environment.
    Has anyone else noticed this?
    3. The error I get is
    ####<Feb 15, 2011 1:12:21 PM EST> <Debug> <SecuritySSL> <hostname> <server
    <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1297793541204> <BEA-000000> <Exception during hands
    hake, stack trace follows
    java.lang.NullPointerException
    at com.certicom.security.cert.internal.x509.X509V3CertImpl.checkValidity(Unknown Source)
    at com.certicom.security.cert.internal.x509.X509V3CertImpl.checkValidity(Unknown Source)
    at com.certicom.tls.interfaceimpl.CertificateSupport.findInTrusted_Validity(Unknown Source)
    ####<Feb 15, 2011 1:12:21 PM EST> <Debug> <SecuritySSL> <hostname> <server> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tunin
    g)'> <<WLS Kernel>> <> <> <1297793541207> <BEA-000000> <NEW ALERT with Severity: FATAL, Type: 40
    java.lang.Exception: New alert stack
    at com.certicom.tls.record.alert.Alert.<init>(Unknown Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown Source)
    Are there other conditions besides the issue about the missing Basic Constraint field that can raise an
    alert with type 40?
    4. Steps I used to generate jks keystore for inclusion in trust keystore (actual values substituted):
    ** keytool -genkey -alias mykey -keystore mykeystore -validity 35600 \
    -dname "cn=Common Name, ou=Common Name, o=Org, l=location, s=state, c=US" \
    -storepass mypass -keypass mypass
    ** exported a DER format head certificate of mykey into mykey.cer.der
    ** keytool -import -trustcacerts -keystore DemoTrust.jks -alias mykey -file mykey.cer.der
    Any comments appreciated and thanks for this forum.

    Faisal,
    Certicom has an internal restriction that a Date must be notBefore 1970 and notAfter 2105 inclusive.The Java-generated key is valid until Wed Mar 14 11:03:59 EDT 2108. Your knowledge of this area is
    quite impressive, thank you so much for this!

  • Problem with encoding

    Hello,
    My app is reading a file, extracting a part of it to a byte array and, afterwards, the byte array is being converted to a string and later to a file, the problem i'm having is that some characters aren't recognized in the final version, e.g., �, �, �, and are replaced by '?', i guess it's some problem with the encoding, can someone help me with the workaround?
    Thanks in advance for any help you can give me.

    Multi-Post
    http://forum.java.sun.com/thread.jspa?threadID=737681&tstart=0

  • A peculiar problem with encode url

    Hi,
    I have the following code snippet in jsp
    <a href="<%=urlencoder.encode("cxc.jsp?P1=RWDS") %">> Rewards</a>
    But when this page is requested, the oracle application server responds with response 404 stating requested url not found.we aer using oracle application server 10g release 2.
    But without encoding the response is correctly displayed.
    has it got to do anything with encoding? or will it be required to change the code.
    But the same encoded url works perfectly fine on iplanet application server.
    Thanks in advance

    I was able to solve this by including the google code in an external PHP file as well. However if my template has a repeating region in it, and my contribute user adds a region from it, it breaks the code again :/
    Are there any other suggestions out there??

  • Problem with encodeing

    hi all,
    i have a problem with JNDI pooling
    everything apear to be ok
    but when i insert a UTF String into database the string appear a ??????????
    I know that i must set the charset for the connection to utf
    but i dont know how to set it in JNDI
    i use this code to do it :
    this code is getConnection() method
    Context ctx = new InitialContext();
    if(ctx == null ) {     
          throw new Exception("Boom - No Context");     
    Connection conn = null;
    ds = (DataSource)ctx.lookup("java:comp/env/jdbc/jdbc/myDB");    
    if (ds != null) {          
         conn = ds.getConnection(); // get connection from datasource pool
    return conn;this the web.xml
                      <resource-ref>
                   <description>DBConnection</description>
                   <res-ref-name>jdbc/myDB</res-ref-name>
                   <res-type>javax.sql.DataSource</res-type>
                   <res-auth>Container</res-auth>
                 </resource-ref>and this the server.xml
                     <Context path="/myPath" docBase="myDocBase" debug="5" reloadable="true" crossContext="true" source="org.eclipse.jst.j2ee.server:myDocBase">
                          <Resource name="jdbc/myDB"
                                                     auth="Container"
                                                     type="javax.sql.DataSource"
                                                     maxActive="100"
                                                     maxIdle="30"
                                                     maxWait="10000"
                                                     username="$$$"
                                                     password="$$$"
                                                     driverClassName="com.mysql.jdbc.Driver"
                                                     url="jdbc:mysql://localhost/myTest" />
                     </Context>Edited by: daigoor on Jul 1, 2010 5:49 AM
    Edited by: daigoor on Jul 1, 2010 5:59 AM
    Edited by: daigoor on Jul 1, 2010 7:32 AM

    the solution was to set the characterEncoding in the url in server.xml
    even i try it before but the server was not started
    he tell me that i must insert a ";" after password
    finally i found that the xml file does not understand the char "&" as it so the server was not started
    i search about this char in xml and found that it must be written as "&"
    i try this code and its work fine
    <Context path="/myDB"
                  docBase="myDB"
                  debug="5"
                  reloadable="true"
                  crossContext="true"
                  source="org.eclipse.jst.j2ee.server:myDB">
                     <Resource name="jdbc/MYdbcomhDS"
                                             auth="Container"
                                             type="javax.sql.DataSource"
                                             maxActive="100"
                                             maxIdle="30"
                                             maxWait="10000"
                                             driverClassName="com.mysql.jdbc.Driver"
                                             url="jdbc:mysql://localhost/mydb?user=$$$&password=$$$&characterEncoding=UTF8" />
    </Context>thank you for help
    Edited by: daigoor on Jul 4, 2010 4:25 AM

  • Simple problem with encoding

    Which encoding does HTTP use ?
    I'm building a web-site.
    A response to a question asked to the client is given in a HTML text field.
    My HTML page uses utf-8 encoding.
    This response is transmitted to a servlet as an HTTP request parameter.
    When this response contains characters as '�' or '�' (french characters), these characters are replaced by others in the result of the request.getParameter(...) method in the doGet() of my servlet.
    How can I do so that the result of the request.getParameter(...) method is exactly the string put in the text field ?
    Thank's a lot.

    Maybe my response to another thread helps...
    http://forum.java.sun.com/thread.jsp?forum=33&thread=274142
    Regards,
    Harrz

  • Problems with encoding and files

    Hi friends pls some help my problems is the following
    I have a ftp server running on linux and in my program I download files from the ftp server using class specified below.When I download the file content not all content is coming ok. For example I have a string with
    Ra�l����1234%#=?[a_@ and when I read content using my methods this part is retirved ok Ra and this one is retrived wrong �����
    whith characteres very stranges.
    I suppose that the problem is with the encoding, then all day I tried some settings in the class new InputStreamReader.First the encoding UTF-8 because I have created the file using this encoding. Something like this:
    in = new InputStreamReader(new GZIPInputStream(localFtp.get(serverFile)),"UTF-8");
    but does not work
    After I realized that I use the statement localFtp.ascii();
    declaring that the content will be downloaded in ascii encoding so
    I made this change :
    in = new InputStreamReader(new GZIPInputStream(localFtp.get(serverFile)),"US-ASCII");
    but still does not work
    Please somebody can help me this is very urgent
    Here is my code
    Tkx
        code:
    {code}
    import sun.net.ftp.FtpClient;
    import java.util.ArrayList;
    import java.util.Vector;
    import java.io.*;
    import java.util.zip.*;
    * This is a basic wrapper around the sun.net.ftp.FtpClient
    * class, which is an undocumented class which is included
    * with Sun Java that allows you to make FTP connections
    * and file transfers.
    * <p>
    * Program version 1.0. Author Julian Robichaux, http://www.nsftools.com
    * @author Julian Robichaux ( http://www.nsftools.com )
    * @author Jpuerta (modified by)
    * @version 1.0
    public class SunFtpWrapper extends FtpClient {
         * Methods you might use from the base FtpClient class
         * // set the transfer type to ascii
         * public void ascii()
         * // set the transfer type to binary
         * public void binary()
         *// change to the specified directory
         * public void cd(String remoteDirectory)
         * // download the specified file from the FTP server
         * public TelnetInputStream get(String filename)
    import java.io.BufferedInputStream;
    import java.io.BufferedReader;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.util.ArrayList;
    import java.util.Vector;
    import java.util.ResourceBundle;
    import java.util.regex.Pattern;
    import java.util.zip.GZIPInputStream;
    import org.apache.log4j.Logger;
    import org.apache.log4j.PropertyConfigurator;
    import com.banesco.lynx.common.SunFtpWrapper;
    import com.banesco.lynx.exceptions.FtpManagerException;
    import org.apache.log4j.Logger;
    import org.apache.log4j.PropertyConfigurator;
    public class FtpManager extends SunFtpWrapper{
         ProcessParametersHelper parametersManager=ProcessParametersHelper.newInstance();
         ResourceBundle rb = ResourceBundle.getBundle("com.banesco.lynx.exceptions.lynx_exceptions");
         private Logger logger =null;
         public FtpManager(int i) throws FtpManagerException {          
              logger = Logger.getLogger(FtpManager.class);
              PropertyConfigurator.configure(parametersManager.getLog4j_path());
              //0 connect to source server
              //1 connect to destiny server
              if(i==0)               
                   connectToSourceServer(this);
              else if (i==1)
                   connectToDestinyServer(this);     
         private void connectToSourceServer(FtpManager ftp)throws FtpManagerException{
              try{          
                   ftp.openServer(parametersManager.getSourceServerInfo().getIp());
                   ftp.login(parametersManager.getSourceServerInfo().getUserName(), parametersManager.getSourceServerInfo                ().getPassword());
              catch (IOException e) {
                   //log error
                   logger.error("Ha ocurrido un error la descripcion del error es :" + e.getMessage());
                   throw new FtpManagerException(Integer.toString(FtpManagerException.CRITICAL),rb.getString                              ("error.ftpmanager.openconnection"));
         private void connectToDestinyServer(FtpManager ftp)throws FtpManagerException{
              try{          
                   ftp.openServer(parametersManager.getDestinyServerInfo().getIp());
                   ftp.login(parametersManager.getDestinyServerInfo().getUserName(), parametersManager.getDestinyServerInfo               ().getPassword());
              catch (IOException e) {
                   //log error
                   logger.error("Ha ocurrido un error la descripcion del error es :" + e.getMessage());
                   throw new FtpManagerException(Integer.toString(FtpManagerException.CRITICAL),rb.getString                              ("error.ftpmanager.openconnection"));
         public ArrayList downloadFileIntoMemory (String path,String serverFile, boolean isZipped) throws FtpManagerException {
              int i = 0;
              InputStreamReader in = null;
              ArrayList response = new ArrayList();
              FtpManager localFtp=null;
              try{          
                   localFtp=new FtpManager(0);
                   localFtp.cd(path);
                   //TODO modifico encoding
                   // moving file content from ftp server into memory
                   if (isZipped)     
                   {  localFtp.binary();
                   in = new InputStreamReader(new GZIPInputStream(localFtp.get(serverFile)));
                   else
                        localFtp.ascii();               
                        in = new InputStreamReader(localFtp.get(serverFile));
                   // moving file content from memory into arraylist
                   BufferedReader reader = new BufferedReader(in);          
                   String l = null;
                   while ( (l = reader.readLine()) != null)
                        response.add(l);
              catch(IOException e){
                   //TODO quitar esto
                   e.printStackTrace();
                   //log error               
                   logger.error("Ha ocurrido un error la descripcion del error es :" + e.getMessage());
                   throw new FtpManagerException(Integer.toString(FtpManagerException.CRITICAL),rb.getString                    ("error.ftpmanager.downloadfile"));
              catch (FtpManagerException e) {
                   //log error
                   logger.error("Ha ocurrido un error la descripcion del error es :" + e.getMessage());
                   throw new FtpManagerException(Integer.toString(FtpManagerException.CRITICAL),rb.getString                ("error.ftpmanager.downloadfile"));
              finally{
                   try{
                        localFtp.disconnect();
                   }catch(FtpManagerException e){
                        //log error
                        logger.error("Ha ocurrido un error la descripcion del error es :" + e.getMessage());
                        throw new FtpManagerException(Integer.toString(FtpManagerException.CRITICAL),rb.getString      ("error.ftpmanager.closeconection"));
              return response;

    Err.. GZIP files are not text files so why are you trying to read them using Readers?

  • Problem with encoding and charset for downloading a file

    Hi guys, I have a problem and I beg for your help, I am 1000% frustrated at this point.
    I have a servlet which have to do something and give a file log to the final user. Coding the logic for that took me about 5 minutes, the problem is that the given file doesnt shows properly in notepad (Default app to open txt files). I have tried every way I have read over the internet and absolutely nothing works.
    After trying about 20 different ways fo doing this without success, this is my actual code:
    Charset def=Charset.defaultCharset();
    OutputStreamWriter out = new OutputStreamWriter(servletOutputStream,def);
    for (String registry:regList) {
    out.write(registry+"\n");
    out.close();
    the page gives the file to the user, I can download or open it, when I open it this is the result
    registry1registry2registry3registry4registry5registry6registry7...
    and I am expecting:
    registry1
    registry2
    registry3
    registry4
    registry5
    If I open it with wordpad or notepad++ the file looks fine, but I cant achieve that notepad reads it correctly. I have spent about 10 hours on this and at this point I just dont know what to do, i have tried Windows-1252, UTF-8, UTF-16, the Default one. I have tried to set this enconding on the response header with no luck. Any help will be very appreciated.
    Thanks in advance.

    >
    I have a servlet which have to do something and give a file log to the final user. Coding the logic for that took me about 5 minutes, the problem is that the given file doesnt shows properly in notepad (Default app to open txt files). I have tried every way I have read over the internet and absolutely nothing works.
    If I open it with wordpad or notepad++ the file looks fine, but I cant achieve that notepad reads it correctly. I have spent about 10 hours on this and at this point I just dont know what to do, i have tried Windows-1252, UTF-8, UTF-16, the Default one. I have tried to set this enconding on the response header with no luck. Any help will be very appreciated.
    >
    Your file likely uses *nix style line endings and use a single LF (0x0A) as the end of each line.
    Notepad doesn't recognize a single LF as the end of line; it expects CRLF (0x0D0A). The encoding isn't the issue.
    If you have to use Notepad you will need to add code to find all of the LF characters and insert a CR character in front of them.

  • Problem with iPad when I try to select a photo from gallery using browseForImage

    Hi, this is my first post, and I hope you can help me with this problem...Im using cameraUI.launch for open the camera app and take a picture without problems, this works fine, but when I try to open gallery from iPad using browseForImage this open a little window to select a folder rigth? but when I try to select any folder this cancel all operation and I cant upload any picture from my gallery..please help,,,Im working with FB 4.7 , apache 4.14 and adobe Air 16.0.0.272,  on Android devices and iPhones I dont have this problem just on iPad.
    this is the source code:
    protected function btnGallery_clickHandler(event:MouseEvent):void {
      if( CameraRoll.supportsBrowseForImage )
            if(Capabilities.manufacturer.indexOf("Android") >= 0)
              loader = new Loader();
              loader.contentLoaderInfo.addEventListener( Event.COMPLETE, this.contentLoadedHandler );
            cameraRoll = new CameraRoll();
            cameraRoll.addEventListener( MediaEvent.SELECT, imageSelected );
            cameraRoll.addEventListener( Event.CANCEL, browseCanceled ); /*This is activated whenever I try to select a folder to select an image on the iPad*/
            cameraRoll.addEventListener( ErrorEvent.ERROR, mediaError );
            cameraRoll.browseForImage();

    I have te same unfortunate problem. Only happens in iPad. cameraRoll.browseForImage() opens a new window but wherever I touch (on folders, or anywhere on the window or out of the window) it dispatches a Cancel event and closes window.
    I tried to dispatch flash.events.Event.DEACTIVATE, from nativeStage and from cameraRoll, before and after calling cameraRoll.browseForImage() , but still it was behaving same as above.
    I tried setting displayState as:
    Starling.current.nativeStage.displayState = StageDisplayState.NORMAL;
    But no help neither.
    It doesn't show any error, I don't have any other solutions to come up with. I feel that somehow I need to invoke application to deactivate, to let my touches focus on CameraRoll window, but I don't know how to do this actually (I tried to dispatch DEACTIVATE event from various sources but I dont believe it is an effective way of doing it).
    I use AIR 16.0 with Starling, test on iOS 8.1.

  • Problems with encoded parenthesis in URL of BSP application

    Hi,
    our BSP application has following url:
    http://sap-host/sap/bc/bsp/sap/zapp/index.html
    After login we addionaly get a parentheses-part in the url (url mangling):
    http://sap-host/sap(bD4JHFSIBSF==)/bc/bsp/sap/zapp/index.html
    Everything works fine as far as we access the sap-host dircetly. When we want to access over Websphere-Portal with a proxy-servlet (reverse-proxy), the login is correct and after login we get an error 404 (not found). This happens because the proxy encodes the parentheses in the url with %28 and %29. Another problem is, that i have no chance to change the proxy-configuration, because it´s not in my responsibility.
    Is there any possibility to get the icm/icf work with these encoded parenthesis?
    I didn´t find anything helpful in the sdn/forums/wiki...
    Thx a lot!

    Hi,
    You have to manage the URL mangling when using reverse proxies.
    For exemple with Apache as a reverse proxy you need this kind of rewrite rule :
    RewriteRule  ^/(sap\(.*)    https://internalHost:internalPort/$1  [P,L]
    If you have no chance of changing the proxy configuration, you are in trouble...
    Good luck !
    Olivier

  • Problems with encoding when creating link in mail

    A user inputs some text in a field at a webpage.
    From this I build a mail that has a link that looks like this:
    http://www.domain.com/a/controller/action/?name=[INPUT VALUE]
    My problem is that when I try to get the value in the receiving action, using params.name, it does not so good. The real problem is about odd characters like our swedish �,�,� for example.
    What I have tried to do when building the link is to use URLEncoder.encode([INPUT VALUE], 'UTF-8') and then using URLDecoder.decode(params.name, 'UTF-8') but it does not work at all. Is there any other way I should attack this problem?

    def name = "Mattias Sands�ter";
    def email = params.email;
    name = URLEncoder.encode(name, 'UTF-8');
    println(name)
    def message = http://domain.com/a/b/download/?name=" + name
    MailSender.sendMail(email, "Subject", message);{code}
    {code}def download = {
    println(params.name)
    println("download after decode" + URLDecoder.decode(params.name, 'UTF-8')){code}
    The first println looks fine, it says Mattias+Sands%C3%A4er
    The second println looks horrible, Mattias Sands��ter
    The third looks the same.
    Then I send this to my gsp(jsp) page and wants to put this in a standard textfield, but it of course looks like Mattias Sands��ter there too.
    This is on a linux-server, on my local computer, everything works as expected.
    Whatever it its, something happens to the name-variable when it is clicked on in the e-mail. It looks good in the e-mail, get pasted in the address-field in the browser correctly, but when retreiving the variable with params.name it is screwed
    Edited by: sandsater on Jul 8, 2008 8:44 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • ASA 5505 VPN licensing question

    I have three locations, that i want to connect via site-to-site vpn's deployed on three ASA 5505. How is the term "Peers" in the licensing text, affecting my scenario? Is each ASA one peer in a site-to-site solution, or is each user transmitting data

  • How Oracle to deal with the data lose?-----QNo.104

    In incomplete recovery,some data will be lost. How Oracle to deal with it? For example, at 9:00am, you find that it is a mistake to drop a user(you dropped it at 8:30am). But other users' transactions are in progress. A lot of data is input between 8

  • View All VIP's Not Working in Apple Mail

    Ever since I updated to Mavericks, the view all VIP's inbox doesn't work. I thought the last update would've fixed the problem, but it hasn't. The column where all the emails are supposed to appear is completely blank (white). The only way I can see

  • Replenishment of consignment stock in warehouse

    Hello gurus We are working in a retail system and we have some consignment stock that passes through the warehouse. My problem is when we run LP21 to replenish the picking location it creates the TR, but even if its only consingnment stock in the war

  • How to start microsof access with parameter through runtime.exec

    Hi, I try to start access with parameter like this: String[] cmd = new String[4]; cmd[0] = "C:\\Programme\\Microsoft Office\\OFFICE11\\MSACCESS.EXE"; cmd[1]= "C:\\MyDB.mdb "; cmd[2] = "/cmd"; cmd[3] = "parameter1 parameter2"; Runtime rt = Runtime.get