Save pound sterling character to table

Hi Sir,
My data cointains a Pound Sterling sign that I tried to insert using chr(163) - ascii code for the sign, to table as shown below, but it shows the sign different when I retrieve.
insert into mytab values(chr(163));
What should I do to get the sign saved, retrieved and shows properly.
Please advice.
Thank you.

Hi,
Add a new field to your table...for special character
with data element of type ( one for Special Characters) ( Search for special character data element, it u'll get a list )
Regards,
Nikhil.

Similar Messages

  • PDFs using BI publisher and special characters - pound sterling

    I have a table with character strings which include the £ pound sterling sign.
    If I create an xml file from the table using the escape sequence for the pound sign & # 163; and load it into BI publisher, the pdf renders correctly using an rtf template.
    If I include the pound sign in the rtf template itself the pdf renders correctly and if I use a report query in Apex based on the table, and an rtf template then the pdf renders correctly.
    However there is a limit to the number of columns that can be sent to BI via the report query - we have found this to be 119 columns. For more than this we have been using a stored function to return xml data as a clob and use the clob to generate the pdf with the rtf report layout (using get_print_document). This method works fine but the pound sign is not rendered correctly (appears as "?").
    The NLS_LANG is set to english_united kingdom in the database and in BI publisher. The locale in bi publisher is en_GB. BI will create the pdf correctly with the pound sign if using a standard xml file (with escape seq for pound) so I am sure it is not a language issue in BI/Apex.
    Any ampersands in the xml cause the pdf to fail completely and we cannot represent special characters with a sequence containing the ampersand for this reason. I have tried "& # 163;" and "& amp;#163;" and variations and have also tried using CDATA, none of which gives the correct pdf output. I have also tried to switch the encoding to Windows-1252 or ISO-8859-1 in the header of the xml (xml generated by stored procedure so can control this), but this gives incorrect results too.
    We also need to send other special characters to BI via get_print_document and apex (bullet points, ampersands, dashes ) but cannot use the escape sequences because of the ampersand problem.
    Has anyone had any success with this?
    Is there any plan ( for a future version of Apex) to increase the number of columns that can be used in report query using Apex/BI publisher?
    Thanks
    Kathryn

    Hi Kathryn
    I've had exactly the same problem as you've mentioned.
    Firstly, I've also found that I cannot select more than 119 columns from a view using a report query and have opted to the use the stored function to return the xml (same as you).
    After conducting a lot of searching and experimenting i've found that you can use the following escape characters in REPLACE in your stored function:-
    '£' can be replaced with CHR(194)||CHR(163)
    '%' can be replaced with '%25'
    '&' can be replaced with '%26amp;'
    I found the above escape characters from the xml file or by opening the xml file in Wordpad. Therefore I'm sure you'll be able to find the escape characters for the other symbols that you mentioned i.e. bullet points, dashes etc.
    I hope this has helped. Good luck and let me know if you get any developments with the limitation on the number of columns that can be selected from a report query as this would save a lot of trouble (as I'm sure you're aware).
    Thanks
    Natalie

  • British Pound Sterling with UTF-8 and ISO-8859-15

    Please excuse my long-windedness ... I'm simply trying to answer all possible questions up front and give the most possible information. I've searched through tons of forums and all over various sites and references and am not able to come up with a concrete solution to this. I'd appreciate any help anyone has.
    I'm having some trouble with character sets and international currencies.
    Our server was recently upgraded from Red Hat 7.3 to Red Hat 8.0. I understand that the default system encoding thus changed from ISO-8859-15 to UTF-8. I have verified this by executing the following:
    public class WhichEncoding {
      public static void main(String args[])
        String p = System.getProperty("file.encoding");
        System.out.println(p);
    }I have two machines, one which represents the old system (7.3) and one representing the new (8.0), which I will call machine73 and machine80 respectively.
    [machine73:~]# java WhichEncoding
    ISO-8859-15
    [machine80:~]# java WhichEncoding
    UTF-8I have also verified that the JVM is using the correct default character set by executing the following:
    import java.io.ByteArrayOutputStream;
    import java.io.OutputStreamWriter;
    public class WhichCharset {
        public static void main (String[] args) {
            String foo = (String)(new OutputStreamWriter(new ByteArrayOutputStream())).getEncoding();
            System.out.println(foo);
    }which yields:
    [machine73:~]# java WhichCharset
    ISO-8859-15
    [machine80:~]# java WhichCharset
    UTF8Here comes the problem. I have the following piece of code:
    import java.text.NumberFormat;
    import java.util.Locale;
    public class TestPoundSterling
        public static void main (String[] args)
            NumberFormat nf = NumberFormat.getCurrencyInstance(new Locale("en", "GB"));
            System.out.println(nf.format(1.23));
    }When I compile and execute this, I see mixed results. On machine73, I see what I would expect to see, the British Pound Sterling followed by 1.23. To be sure, I outputted the results to a file which I viewed in a hex editor, and observed [A3 31 2E 32 33 0A], which seems to be correct.
    However, when I execute it on machine80, I see a capital A with a circumflex (carat) preceding the British Pound Sterling and the 1.23. The hex editor shows [C2 A3 31 2E 32 33 0A].
    I looked up these hexadecimal values:
    Extended ASCII
    0xC2 = "T symbol"
    0xA3 = lowercase "u" with grave
    ISO-8859-1
    0xC2 = Capital "A" with circumflex (carat)
    0xA3 = British Pound Sterling
    Unicode Latin-1
    0x00C2 = Capital "A" with circumflex (carat)
    0x00A3 = British Pound Sterling
    (This explains why, when I remove /bin/unicode_start and reboot, I see a "T symbol" and "u" with a grave in place of what I saw before ... probably an irrelevant sidenote).
    I found a possible answer on http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 under the Examples section. Apparently, a conversion between Unicode and UTF-8 acts differently based on the original Unicode value. Since the Pound Sterling falls between U-00000080 � U-000007FF (using the chart on the mentioned site), the conversion would be (as far as I can tell):
    U-000000A3 = 11000010 10101001 = 0xC2 0xA3
    This appears to be where the extra 0xC2 pops up.
    Finally, to the whole point of this: How can I fix this so that things work as they should on machine80 like they did on machine73. All I want to see at the command line is the Pound Sterling. Getting the 0xC2 preceding the Pound Sterling causes some parts of my applications to fail.
    Here's some additional information that might be of use:
    [machine73:~]# cat /etc/sysconfig/i18n
    LANG="en_US.iso885915"
    SUPPORTED="en_US.iso885915:en_US:en"
    SYSFONT="lat0-sun16"
    SYSFONTACM="iso15"
    [machine73:~]# echo $LANG
    en_US.iso885915
    [machine80:~]# cat /etc/sysconfig/i18n
    LANG="en_US.UTF-8"
    SUPPORTED="en_US.UTF-8:en_US:en"
    SYSFONT="latarcyrheb-sun16"
    [machine80:~]# echo $LANG
    en_US.UTF-8Any help is very, very much appreciated. Thanks.

    you didn't look hard enough, this is a faq...
    there three options:
    1) change the system encoding by setting LANG or LC_CTYPE environment variables... assuming you use bash:bash$ export LC_CTYPE=en_GB.iso88591 you can check the available locales with locale -a ... pipe it to grep en_GB to filter out the non-british english locales
    -OR-
    2) change the java default encoding from the command line with -Dfile.encoding... run with$ java -Dfile.encoding=ISO-8859-1 yourclass-OR-
    3) set the encoding from within the program with OutputStreamWriter, or use a PrintStream that has the encoding set..PrintStream out = new PrintStream(new FileOutputStream(FileDescriptor.out), true, "ISO-8859-1");
    System.setOut(out);see also the internationalization tutorial & the javadoc of the related classes....

  • Typing british pound sterling currence symbol on MacBookPro purchased in US

    I purchased my MacBookPro in the US and I am now in england and want to type a pricing sheet with prices in british pounds sterling. But, so far, I have not been able to figure out how. Can anyone help me?
    Thanks
    Pove

    You can change your 'input' source temporarily or permanently in the system preferences > International tab.
    Under Formats choose your Region for the current area and documents and that will provide correct time, date and currency and numbering.
    Under Input Menu, you can choose to keep the various input sources that you want to use in the menu bar for easy switching.
    Also, the Input Menu allows you to set the menu bar item to show various input sources that you want as options for your data and documents as well as showing the "Keyboard Viewer" and Character Palette.
    You can choose to allow different input sources for each document or one input source for all.
    You can use keyboard shortcuts to choose input or you can choose from the dropdown menu which is then set in the menubar.
    Check out the International tab options; they provide great customisation of your system.

  • How to get pound sterling symbol on spanish keyboard?

    how to get pound sterling symbol on spanish keyboard?

    Depends which Spanish layout;
    Spanish - alt + 9 (alt is opt or ⌥ on some keyboards).
    Spanish ISO - shift + alt + 4.
    You can find all these using keyboard viewer;
    System Preferences > Language and Text > Input Sources tab. Top of the left column, tick (check) "Keyboard and Character Viewer", Bottom of window next to search field, tick "Show input menu in menu bar"
    System Preferences > Keyboard > Keyboard tab; tick "show keyboard and character viewers in menu bar"
    Hold down the alt key and the alternative symbols and diacritics will be shown. Shift + alt shows more.
    The input sources menu in Language and text allows you to select  whatever keyboard you want.
    Message was edited by: noondaywitch

  • GB Pound sterling symbol £ importing from script

    Apex v3.1.2.00.02
    I am migrating a large application to a new network.
    I exported the original app from the old network as Unicode UTF-8 character set. I have since completed a lot of development work on the app on the new network for hardening purposes.
    My problem comes now when I try to export the app from the new network (for transport to test and live environments). The app has a large number of "£" (GB pound sterling) signs hard coded into column headers and text.
    When I export the application, all the £ signs change to £
    I'm thinking this is a character set issue, but I don't get an option to change the character set on export... it is set to Unicode UTF-8.
    I tried a find and replace in the exported source code (which I know is unsupported), but that ended up producing another funny character (a diamond with a ? in the middle of it) instead of the £ symbol.
    Does anyone know how to fix this?
    Thanks in advance,
    Gus..

    Hi Joel...
    You are right, it isn't fixed...
    in our new system, we have in our F:\oracle\product\10gAS\10g_MT\Apache\modplsql\conf\marvel.conf file... (xxx's are blanked out data)
    <Location /xxxx>
        Order deny,allow
        PlsqlDocumentPath docs
        AllowOverride None
        PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
        PlsqlDatabaseConnectString APEX_xxxxxxxx
        PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8
        PlsqlAuthenticationMode Basic
        SetHandler pls_handler
        PlsqlDocumentTablename wwv_flow_file_objects$
        PlsqlDatabaseUsername APEX_PUBLIC_USER
        PlsqlDefaultPage apex
        PlsqlDatabasePassword xxxxxxxxxx
        Allow from all
    </Location>From my tests, if I export from the Apex application Import/Export button, (exporting as DOS) I get the funny character in the export file.
    If I import that application back in using the Apex application Import/Export button, I have no problem, the characters are interpreted correctly.
    If I import the application using our automated migration script (below), the characters are NOT interpreted correctly, we get £ instead of £shown in the Apex development environment and on the running application.
    migration .bat file runningsqlplus / as sysdba @"SQL Scripts\110_CREATE_APEX_COMPONENTS" !WSPwd!110_CREATE_APEX_COMPONENTS.sql is....WHENEVER sqlerror EXIT
    SET serveroutput ON
    SET define '^'
    SET sqlprefix OFF
    SET VERIFY OFF
    SPOOL Logs\LOG_CREATE_APEX_COMPONENTS.log
    ALTER SESSION SET CURRENT_SCHEMA=FLOWS_030100;
    begin
        wwv_flow_api.set_security_group_id(p_security_group_id=>xxxx);
    end;
    prompt  Creating workspace ATSYS...
    begin
    wwv_flow_fnd_user_api.create_company (
      p_id                      => xx...,
      p_provisioning_company_id => xxxx,
      p_short_name              => 'ATxxx',
      p_first_schema_provisioned=> 'ATxxx',
      p_company_schemas         => 'ATxxx',
      p_expire_fnd_user_accounts=> '',
      p_account_lifetime_days=> '',
      p_fnd_user_max_login_failures=> '');
    end;
    prompt  Creating Groups...
    prompt  Creating Users...
    begin
    wwv_flow_fnd_user_api.create_fnd_user (
      p_user_id      => 'xxxx',
      p_user_name    => 'ATxxx_ADMIN',
      p_first_name   => '',
      p_last_name    => '',
      p_description  => '',
      p_email_address=> 'admin@xxxxxx',
      p_web_password => '^1',
      p_web_password_format => 'CLEAR_TEXT',
      p_group_ids    => '',
      p_developer_privs=> 'ADMIN:CREATE:DATA_LOADER:EDIT:HELP:MONITOR:SQL',
      p_default_schema=> 'ATxxx',
      p_account_locked=> 'Y',
      p_account_expiry=> to_date('200806130000','YYYYMMDDHH24MI'),
      p_failed_access_attempts=> 4,
      p_change_password_on_first_use=> 'N',
      p_first_password_use_occurred=> 'Y',
      p_allow_access_to_schemas => '');
    end;
    @"Code\APEX Exports\ATxxx Application"
    COMMIT;
    SET VERIFY ON
    SPOOL OFF
    EXITwhere 'ATxxx Application.sql' is the exported application using the Apex application Import/Export button.
    It does look like this issue...
    Re: Apex export error on 'special' characters (ie. ë and ©)
    but in a windows environment...
    Is there something I need to add to my script to make it work like stefan did?
    Thanks,
    Gus..

  • Good night I have the question of a message that I have received in my mobile, if I won 715.000 pounds sterling on a lottery contest the Apple company, please let me answer if this is real lottery to send my personal data for the claim this prize.

    good night I have the question of a message that I have received in my mobile, if I won 715.000 pounds sterling on a lottery contest the Apple company, please let me answer if this is real lottery to send my personal data for the claim this prize.

    Scam. Do not divulge any personal or financial information.

  • I have been give a british pound sterling gift card, and want to use it in the US.  How do I do this?

    I have been give a british pound sterling gift card, and want to use it in the US.  How do I do this?

    Sorry... but...  iTunes Gift Cards are only Valid in Country of issue.

  • How do u save datas more than one table using net beans ide using JSF

    Hi,
    I am new to JSF.
    I save / delete / update / New master table using POJO (Plain Old Java Objects), database - oracle and Toplink Persistence Unit.
    How do u save data more than one table using net beans ide using JSF (I am using POJO) ?
    and also Tell me the reference book for JSF.
    Thanks in advance.
    regards,
    N.P.Siva

    SivaNellai wrote:
    I am new to JSF.
    So, I am using net beans IDE 6.1 from sun microsystem. It is a free software.No, you don't drag'n'drop if you're new to JSF. Switch to source code mode. Write code manually, with the help of IDE for the speed up.
    So, please guide me the reference books, articles. I need the basic understanding of JSF, net beans IDE.[JSF: The Complete Reference|http://www.amazon.com/JavaServer-Faces-Complete-Reference/dp/0072262400] is a good book. The [JSF specification document|http://jcp.org/aboutJava/communityprocess/final/jsr252/index.html] is also a good reading to understand what JSF is and how it works. There are also javadocs and tlddocs of Sun JSF Mojarra.

  • How to modify and save the data in the table control

    how to modify and save the data in the table control

    hi priya,
    kindly go thru the code below.
    PROCESS BEFORE OUTPUT.
      MODULE status_9010.
      LOOP WITH CONTROL tab_control.
        MODULE move_data_to_table.
      ENDLOOP.
    PROCESS AFTER INPUT.
      MODULE user_cancel AT EXIT-COMMAND.
      LOOP WITH CONTROL tab_control.
        MODULE move_data_from_table.
      ENDLOOP.
    MODULE move_data_to_table OUTPUT.
    This is to move the data from the internal table to *the table control
    *zmpets_mode-modecode, zmpets_range-rangeid, *zmpets_servfacto-factor are field names of the table *control columns.
      READ TABLE int_factor INDEX tab_control-current_line.
      IF sy-subrc = 0.
        zmpets_mode-modecode = int_factor-modecode.
        zmpets_range-rangeid = int_factor-rangeid.
        zmpets_servfacto-factor = int_factor-factor.
      ENDIF.
    ENDMODULE.                 " move_data_to_table  OUTPUT
    **********************************************8888
    MODULE move_data_from_table INPUT.
    *To move the data from the table control to internal *table 'INT_FACTOR'.
      int_factor-chk = line.
      int_factor-modecode = zmpets_mode-modecode.
      int_factor-rangeid = zmpets_range-rangeid.
      int_factor-factor = zmpets_servfacto-factor.
       MODIFY int_factor INDEX tab_control-current_line.
        IF sy-subrc NE 0.
          APPEND int_factor.
          CLEAR int_factor.
        ENDIF.
    ENDMODULE.                 " move_data_from_table  INPUT
    if this helps , kindly award points.
    for any clarification just mail me.
    regards,
    Anversha.S
    [email protected]

  • Ascii table - character matching table

    Where can I find a character mapping table for character set WE8ISO8859P1
    Olav Torvund
    [email protected]

    Hi,
    that's odd. I got all of them 255 total. Here is a portion of it.
    CHR         dec
    Y            89
    Z            90
    [            91
    \            92
    ]            93
    ^            94
    _            95
    `            96
    a            97
    b            98
    c            99
    CHR         dec
    d           100
    e           101
    f           102
    g           103
    h           104
    i           105
    j           106
    k           107
    l           108
    m           109
    n           110
    CHR         dec
    ---- ----------U

  • Is there anyway I can type a pound sterling sign?  I only have a dollar sign.

    Is there anyway I can type a pound sterling sign?  I only have a dollar sign.

    annfromnorthwood hills wrote:
    I found the answer in the "More like this" column - the figure three - which looks like a hash key types the pound sign.  Hope I do not need the hash key!
    It sounds like you are using the British keyboard layout when you have a US keyboard.  Go to system preferences/language & text/input sources and check the box for US and uncheck the box for British.  That way the keys will produce what it says on them.  £ will be at option/alt + 3.

  • Find character of table in indesign using applescript

    Hi ,
    I have one story and it contains 5 tables.
    I need index of character  for table 4 in story 1. Please help me.
    my code is shown in below. this is right or not please check .
    tell application "Adobe InDesign CS6"
        tell active document
            set indx to index of character 1 of table 4 of story 1
        end tell
    end tell
    if any wrong in my coding please tell me.

    Script labels can't be disabled, so I'm not sure what your problem is -- perhaps seeing some code could help. Could it be that you're referencing a page item by label, but it is not responding because the item is part of a group?
    Shane Stanley <[email protected]>
    AppleScript Pro Sessions <http://scriptingmatters.com/aspro>

  • [OIM] Error in Direct Provisioning (with auto save form) - GTC DB App Table

    Hi,
    I am getting an error when setting up direct provision of a GTC DB App Conn using OIM access policy (and group membership) or through manual provisioning with prepopulate and auto save form.
    Manual provisioning with prepopulate ONLY (not with auto save form) WORKS!!!
    Some information about my OIM config:
    - Prepopulate adapters are set up on both forms (parent and child)
    - "Auto prepopulate" and "Auto save form" are set up at Process Definition
    - For direct provisioning, I have created an access policy with an associated group which has a membership rule
    What it is working:
    - Provisioning manually, using prepopulate adapters only, not auto save form. Both tables are updated properly
    - All *3 tasks are called and finished with status=Completed*: "System Validation", "Create User" and "Child Table UD_<connector child table name>_US row Inserted"
    Testing direct provisioning:
    - I have tested adding the resource manually with prepopulate and autosave form configured, and also through access policy/group membership. The error is the same on both tests
    - The resource is displayed as provisioned and it is created an entry in the parent table of the resource, but not on child table
    - I also observed that only: "System Validation" and "Create User" tasks were executed (status=Completed). But it is missing the task "Child Table UD_<connector child table name>_US row Inserted"
    - The error log info displays only an error regarding to UGP table (Groups info) but I am not sure if that is the cause of entry creation on child table.
    It seems the SQL stmt tries to get ugp_name (group name) using ugp_key but that has null value.
    "SELECT ugp_name FROM ugp WHERE ugp_key=java.sql.SQLSyntaxErrorException: ORA-00936: missing expression"
    Note: When testing manually (without auto save form), I got "SELECT ugp_name FROM ugp WHERE ugp_key=1" which it is the same SQL stmt but the value is provided.
    My guess:
    - It seems that error is aborting the whole execution process so "Child Table UD_<connector child table name>_US row Inserted" task does not run, even though previous tasks are finished with the status=Completed. Consequently, the entry is not created on child table.
    Please, any guess or help would be very helpful. In case nothing works, I guess I will have to create and customize a "Update child Form" task as an workaround which would be called after "Create User" task.
    Regards,
    Hugo
    My environment:
    - Windows 2003, WebLogic 10.3.0.0, OIM 9.1.0.2 BL4, Oracle 10g, Java 1.6, DB App Table Connector 9.1.0.2 (from October 2009)
    - Target Resource: Parent and Child Table (Oracle 10g - the same OIM DB)

    An update:
    I solved that error about "ORA-00936: missing expression" applying OIM 9.1.0.2 BP05. That was not impacting my issue regarding direct provisioning with auto save form and child form.
    So please if anyone can confirm:
    - Can I set up prepopulate adapters on child forms AND also use "auto save form" on GTC DB App Table connector?
    If not, any suggestion?
    Regards
    Hugo

  • In sm30, when save, how to fill the table with the system data in the table

    Hi all, in SM30, we have user name and time fields, when we create record, after we click the SAVE button, it will automatically fill the fields with the system data, how can we realize it?

    Hi ,
    Do like this.
    1. Go to SE11 -> give your table name and press on change button .
    2.Go to Menu->Utilities-> Table Maintainance Generator , then it will take you another screen .
    3.Assign Functin group if already have one , other wise create function group and assign
    4.Go to Menu->Environment->Modification->Events , again it will take you to another screen
    5.Click on new entries
    ->Now press F4 in T column . Select<u> "01" - Before saving the data in the database</u> and in form routinue give any name of the routinue like "SAVE_USER_DATA" and press enter then u can see an editor symbol in next column click on that it will take you ABAP editor there type this code .
    ztable-username = sy-uname.
    ztable-createtime = sy-uziet.
    check and activate the code .
    With this your job will be complete . Now while entering data just leave columns blank , they will insert corresponding username and time
    Don't forget award points if it helps you.
    Regards,
    Raghav

Maybe you are looking for

  • Decimal places in Purchase orders

    Hello, currently, when typing in the unit price in a purchase order, we can only use 2 decimal places. We need to be able to use 4 decimal places for materials such as paper, which we buy at 0,028 € (example). Can this be modified through customizing

  • Alert Modeler in IC Webclient

    Hi, Could you help me out with the code in the alert modeler to achieve this functionality. After i confirm the BP i would like the sevice ticket transaction to appear by default rather than clicking on the link in the navigation bar. I know this fun

  • How to redirect users to another address

    Hi Thank you for reading my post I have a problem that i do not know how to resolve. we had an application in an address like : http://www.myweb.com/web2/ it is a dynamic application written in java . now we move it to another server like : http://10

  • People Management Configurator Help

    Responsibilities: HR Super User > Security > People Management Configurator US Super HRMS Manager > Security > People Management Configurator Hello, I want to add an item that is not listed in the LOV for when adding an item to a template. Specifical

  • Straighten horizon in panoramas? Lightroom to Photoshop CC

    I am using photoshop to stitch together 40 photos of the grand canyon I'd like to combine into a larger panorama. The photos are in Lightroom (Canon Raw files from a 5D mk ii). I highlight them and select the merge as panorama in photoshop option. I