Does UTF8 support Kurdish characters?

We are trying to globalize our Telco app to support Kurdish. Our requirement is this:
(1.) Users should be able to enter data from the Oracle Forms clients in Kurdish and English?
(2.) When quering data, Kurdish users should be able to query only their records (data) and English users should be qble to query only there data. i.e. in the Form a Kurdish user should be able to for example, type a customer name is Kurdish and when you press Execute Query the query should bring that customer, whose information is in English. The English user should be as above could be able to query English records.
In order to to this what should I do?
(1.) When creating the DB specify the DB character set as UTF8?? What exactly is the Oracle code I should use?
(2.) Kurdish users should install the Kurdish fonts in their clients and enable them?
(3.) Enghlish users can use normal machine without installing any fonts?
Is this correct or am I missing things here? Should we recommend to the clients where to obtain Kurdish Unified fonts?

For the database character set, use AL32UTF8. Also, use the most recent version of Forms. This is for sure. Now, which version of the Kurdish writing system do you want to use - Arabic-, Latin- or Cyrillic-based?
-- Sergiusz

Similar Messages

  • Does ODI Support wild characters?

    Hi,
    Does ODI support wild characters? We have a requirement of reading multiple files (say "P*.txt"). Could somebody help / guide?
    Thanks,
    Nagaraj

    For the database character set, use AL32UTF8. Also, use the most recent version of Forms. This is for sure. Now, which version of the Kurdish writing system do you want to use - Arabic-, Latin- or Cyrillic-based?
    -- Sergiusz

  • Does Crystal Report support Icelandic characters

    I am using Crystal Reports. But it does not support Icelandic characters like Ã,ž, ¶.
    Are these kinds of characters supported in any versions of Crystal Reports?

    Hi Alby,
    Since the Icelandic characters are not displaying properly on reports, you would most likely need the correct font to see those characters correctly and that font would most likely come from a MS language pack. Try installing the MS Language pack.
    Regards,
    Abhijeet Taskar.

  • Does a flex ios app support international characters?

    does a flex ios app support international characters?
    i just built an app using flash builder 4.6 and the ios 5.1 sdk... and my text fields won't show international characters. is this supported?
    Also... i'm embedding the arial unicode font... and it works on windows and android. just not ios.

    beuller?

  • Does Adobe Captivate 7 or 8 support japanese characters in closed captions

    Our Japanese team would like to translate the scripts we are using for our videos and have us apply the translation in the closed captions section. However, will Adobe 7 or 8 support Japanese Characters?

    I also agree with your suggestions but posting them here on this forum is of very little use.
    If you want any chance of having them taken seriously by Adobe, this is where you need to post them:
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&product=5

  • ZHT16MSWIN950 does not support accents

    Hi,
    my database was created with this CHARACTER SET = ZHT16MSWIN950 because it is been used in Taiwan and this is the character set that I found for chinese characters. My application uses accents in the sql sentence, for example:
    SELECT DISTINCT "COBROS_ANTICIPADOS"."F_RECEPCION",
    decode(cobros_anticipados.tipo ,'C', 'Cheque', 'P', 'Pagaré', 'J', 'Caja', 'Transferencia' ) as c_tipoc
    FROM "COBROS_ANTICIPADOS"
    when I run my application I get the error ORA-1756 becuase of the accent, If I change the sql sentence and I use
    SELECT DISTINCT "COBROS_ANTICIPADOS"."F_RECEPCION",
    decode(cobros_anticipados.tipo ,'C', 'Cheque', 'P', 'Pagare', 'J', 'Caja', 'Transferencia' ) as c_tipoc
    FROM "COBROS_ANTICIPADOS"
    application does not fail.
    Sorry, I forgot to mention that the database version is 8.1.7.
    I can not change the sql sentence because application is also used in Spain.
    How can I change the character set in my chinese database in order to accept accent and chinese characters? Is there any superset for ZHT16MSWIN950?
    Thanks in advance for your help
    Mabel

    There are two issues here, actually. The first one is that ZHT16MSWIN950 does not support the character 'é'. You should either translate your application, if it is to support Chinese only (Spanish text is of little use on Taiwan, I guess), or switch to UTF8, as suggested by Gunther (AL32UTF8, if you upgrade to some newer version at the same time).
    The second issue is with the client settings for you application (NLS_LANG). You application uses literals in one of the Western European character set (WE8ISO8859P1 or WE8MSWIN1252, probably). This is the character set that must be used in NLS_LANG for the literals to be interpreted correctly. If you set NLS_LANG as expected, the character 'é' will be translated to a question mark in ZHT16MSWIN950 and the query will not fail. The result will be 'Cheque', 'Pagare', 'Caja', or 'Transferencia', because ZHT16MSWIN950 has an explicit replacement character for 'é' equal 'e'.
    Of course, if you set NLS_LANG to WE8..., then the application will not be able to process Chinese characters. Therefore, to have both, Spanish and Chinese, you need to move the database and the client to UTF8. This will require the source code of your application to be converted to UTF8 as well. Note that you will also need a proper support from the operating system to be able to enter Chinese with the NLS_LANG set to .UTF8 The precise solution depends on the technology framework used by the application (client/server?, 3-tier?, Windows?, Unix?, etc)
    -- Sergiusz

  • WE8MSWIN1252 Does it supports Arabic?

    Hi All,
    One of the strange facts which we saw recently was a 8i database running with WE8MSWIN1252 supporting Arabic characters successfully. Users were happy with the data representation in Forms 6i too. Though we have 100's of threads which says AR8ISO.. or AR8MSWIN... are the character sets which supports Arabic apart from UTF8. We were surprised to see how WE8MSWIN1252 was supporting Arabic characters. We came across a thread which said that it might be possible to have Arabic data stored with WE8MSWIN1252. Please refer to the following Link.
    DB Migration from WE8MSWIN1252  TO AR8MSWIN1256  is it possible ???
    Real Problem occured when we were asked to upgrade the DB to 10g. The problem started when we exported the dump from 8i and imported the same dump in a 10g i.e 10.2.0.1.0. database with same character set i.e WE8MSWIN1252. In 10g all arabic characters were showing as junk or inverted question mark when queried from db or while querying from forms application.
    So we are planning to do the steps.
    @ LIVE DB
    1) Take a export of the existing dump from production 8i - 8.1.7.0
    @ Test DB
    1) Change the character set of DB to AR8MSWIN1256.
    2) Import the Dump in Test DB
    3) Check the data in back end and front end for its correctness.
    4) If that works fine import that dump into 10g database with AR8MSWIN1256 character set
    Will this work or if not please advice us for a right solution.
    Thanks in advance.

    As suggested by S. Wolicki in the mentioned thread I think you should first fix data in your current database in the current Oracle version and work with Oracle Support if needed to solve this case before doing any upgrade or export/import:
    >
    Now, to the solution. First, the database must be verified to contain data only in one charater set. That is, either all applications understand all data as WE8MSWIN1252 or all applications understand all data as AR8MSWIN12526. If some columns (or rows) contain data visible in applications as one character set and some other columns (or rows) contain data visible as another character set, such database cannot be easily migrated. Data must first be spooled to text files, separated as required and loaded back to a new database, usually in AL32UTF8 to cover all required languages/scripts. Both the verification and such special migrations are manual tasks.
    Assuming the data in the database is consistent in respect to how it is visible to applications, the solution is to update the database character set declaration to the real one corresponding to the data. This should happen without actually touching any character codes. You need to contact Oracle Support to provide you with the correct procedure that uses an undocumented statement. (I guess you will find this statement in Google, but then you use it at your own risk!) Oracle Support should verify that the procedure will not corrupt your data.
    >
    Edited by: P. Forstmann on 14 déc. 2010 09:11

  • Does the later 2009 MacBook support the Apple DVI to Video Adapter (s-video). I want to connect it to an old tv which does not support HDMI. Any suggestions?

    I have a late 2009 MacBook which I want to connect to an old LG tv. The tv does not support HDMI it only has the (red, while, and yellow) ports. Sorry I dunno the exact name for it.
    So I was thinking of using the Apple Mini DVI to Video Adapter (s-video), link below...
    http://store.apple.com/Catalog/dk/Images/M9319_screen.jpg
    But I'm afraid that the MacBook might not support the adapter.
    Can anyone give me a solution for this? Is there an alternative way of doing this? I'm kinda new to apple display adapters.

    The Late 2009 model 6,1 has a Mini DisplayPort not the Mini-DVI. To see which model you have go to the Apple in the upper left corner and select About This Mac, then click on More Info. When the System Profiler comes up check the Model Identifier.
    Composite is the name for the red, white and yellow RCA plugs on your TV or red, white and S-Video plugs. If you want to use the Composite input on your TV there’s no Mini DisplayPort to Composite. You’ll have to get a Mini DisplayPort to VGA adapter http://www.amazon.com/s/ref=nb_sb_ss_i_1_19?url=search-alias%3Delectronics&field -keywords=mini+displayport+to+vga&sprefix=mini+Displayport+to and a VGA Adapter to TV S-Video RCA Out Cable for PC Video. http://www.amazon.com/VGA-Adapter-S-Video-Cable-Video/dp/B000Y7T5UU/ref=sr_1_7?s =electronics&ie=UTF8&qid=1316369974&sr=1-7
    Only the Yellow plug or the S-Video plug for video will work. For sound you'll also need audio cables to the TV using a 3.5mm stereo headphone jack to RCA sound plugs. You attach it from the headphone jack of your MacBook to the appropriate input plugs on your TV  http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=min i-dvi&x=9&y=13#/ref=nb_sb_ss_i_2_19?url=search-alias%3Daps&field-keywords=macboo k+audio+cable&sprefix=macbook+audio+cable&rh=i%3Aaps%2Ck%3Amacbook+audio+cable

  • Dg4odbc to MySQL update errors: "does not support IS NULL in this context"

    I am having a problem with 'where x is null' clauses in update statements to MySQL from 11g, using dg4odbc. Updates using the clause 'where x is null' return errors like this:
    ORA-02070: database PLAZAHOST does not support IS NULL in this context
    The rejected queries never get to mysql. Furthermore, I noticed that select statements with 'where x is null' show up in the mysql query log with the where clause stripped out, although correct results are returned to SQLPlus. It looks as though 'where x is null' is stripped off by dg4odbc, which subsequently applies a secondary filter to the results received from MySQL.
    Note, both statements above work properly when issued from the MySQL client.
    Has anybody seen this? It's a big problem for me, but I can't find any references to other people having the same problem, so I assume I've got something misconfigured -- but I don't know what.
    I'm using MySQL ODBC 5.1 Driver, MySQL 5.1 Community Edition, and Oracle 11g R1 all running on a 32-bit Windows server.
    Thank you -- rick
    =============
    here's a spool of a sample oracle session:
    SQL> col descr1 for a40
    SQL> select * from t1@plazahost;
    id1 descr1
    1 hello
    2
    SQL> descr t1@plazahost
    Name Null? Type
    id1 NUMBER(10)
    descr1 VARCHAR2(255)
    SQL> select * from t1@plazahost where "descr1" is null;
    id1 descr1
    2
    SQL> update t1@plazahost set "descr1"='updated' where "descr1" is null;
    update t1@plazahost set "descr1"='updated' where "descr1" is null
    ERROR at line 1:
    ORA-02070: database PLAZAHOST does not support IS NULL in this context
    SQL> spool off
    =============
    here's the mysql query log snip for the oracle session:
    100804 10:24:20 1637 Connect     moms_oracle@MOMS_HOST on moms
              1637 Query     SET NAMES utf8
              1637 Query     SET character_set_results = NULL
              1637 Query     SET SQL_AUTO_IS_NULL = 0
              1637 Query     set autocommit=0
              1637 Query     select database()
              1637 Query     COMMIT
              1637 Query     SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED
              1637 Query     SHOW TABLE STATUS FROM `moms` LIKE 'T1'
              1637 Query     SHOW COLUMNS FROM `moms`.`t1`
              1637 Query     SELECT `id1`,`descr1` FROM `moms`.`t1` LIMIT 0
              1637 Query     SHOW KEYS FROM `moms`.`T1`
              1637 Query     SHOW TABLE STATUS FROM `moms` LIKE 'T1'
              1637 Query     SHOW COLUMNS FROM `moms`.`t1`
              1637 Query     SELECT `id1`,`descr1` FROM `moms`.`t1` LIMIT 0
              1637 Query     SELECT A1.`id1`,A1.`descr1` FROM `T1` A1
              1637 Query     SELECT `id1`,`descr1` FROM `T1`
    100804 10:24:28 1637 Query     COMMIT
              1637 Quit     
    =============
    here's the Oracle HS trace file for the same oracle session:
    Oracle Corporation --- WEDNESDAY AUG 04 2010 10:24:19.608
    Heterogeneous Agent Release
    11.1.0.7.0
    Oracle Corporation --- WEDNESDAY AUG 04 2010 10:24:19.608
    Version 11.1.0.7.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of "HS_TRANSACTION_LOG"
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "UCS2"
    setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "TRUE"
    Parameter HS_FDS_QUOTE_IDENTIFIER is not set
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
    Exiting hgosdip, rc=0
    ORACLE_SID is "plazahost"
    Product-Info:
    Port Rls/Upd:7/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.1.0.7.0_0006, Instance:plazahost
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=178
    HOCXU_DRV_NCHAR=1000
    HOCXU_DB_CSET=178
    HOCXU_SEM_VER=110000
    Entered hgolofn at 2010/08/04-10:24:19
    Exiting hgolofn, rc=0 at 2010/08/04-10:24:20
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    Exiting hgoinit, rc=0 at 2010/08/04-10:24:20
    Entered hgolgon at 2010/08/04-10:24:20
    reco:0, name:moms_oracle, tflag:0
    Entered hgosuec at 2010/08/04-10:24:20
    Exiting hgosuec, rc=0 at 2010/08/04-10:24:20
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
    HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using moms_oracle as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2010/08/04-10:24:20
    HS_FDS_CONNECT_INFO = "momsPlazaHost"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2010/08/04-10:24:20
    dsn:momsPlazaHost, name:moms_oracle
    optn:
    ##>Connect Parameters (len=43)<##
    ## DSN=momsPlazaHost;
    #! UID=moms_oracle;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2010/08/04-10:24:20
    DriverName:myodbc5.dll, DriverVer:05.01.0005
    DBMS Name:MySQL, DBMS Version:5.1.35-community-log
    Exiting hgocont, rc=0 at 2010/08/04-10:24:20
    SQLGetInfo returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 64 for SQL_MAX_CATALOG_NAME_LEN
    Exiting hgolgon, rc=0 at 2010/08/04-10:24:20
    Entered hgoulcp at 2010/08/04-10:24:20
    Entered hgowlst at 2010/08/04-10:24:20
    Exiting hgowlst, rc=0 at 2010/08/04-10:24:20
    SQLGetInfo returns ` for SQL_IDENTIFIER_QUOTE_CHAR
    SQLGetInfo returns Y for SQL_COLUMN_ALIAS
    2 instance capabilities will be uploaded
    capno:1991, context:0x0001ffff, add-info: 0
    capno:1992, context:0x0001ffff, add-info: 1, translation:"`"
    Exiting hgoulcp, rc=0 at 2010/08/04-10:24:20
    Entered hgouldt at 2010/08/04-10:24:20
    0 instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2010/08/04-10:24:20
    Entered hgobegn at 2010/08/04-10:24:20
    tflag:0 , initial:1
    hoi:0x12f03c, ttid (len 26) is ...
    00: 4D4F4D53 44422E38 62393537 3032392E [MOMSDB.8b957029.]
    10: 322E3130 2E333131 3531 [2.10.31151]
    tbid (len 23) is ...
    00: 4D4F4D53 44425B32 2E31302E 33313135 [MOMSDB[2.10.3115]
    10: 315D5B31 2E345D [1][1.4]]
    TXN Capable:3, Isolation Option:0xf
    Exiting hgobegn, rc=0 at 2010/08/04-10:24:20
    Entered hgodtab at 2010/08/04-10:24:20
    count:1
    table: T1
    Entered hgopcda at 2010/08/04-10:24:20
    Column:1(id1): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2010/08/04-10:24:20
    Entered hgopcda at 2010/08/04-10:24:20
    Column:2(descr1): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:255, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2010/08/04-10:24:20
    The hoada for table T1 follows...
    hgodtab, line 651: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:1, WHT=6 (TABLE_DESCRIBE)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 255 255 0/ 0 0 0 0 descr1
    Exiting hgodtab, rc=0 at 2010/08/04-10:24:20
    Entered hgodafr, cursor id 0 at 2010/08/04-10:24:20
    Exiting hgodafr, rc=0 at 2010/08/04-10:24:20
    Entered hgotcis at 2010/08/04-10:24:20
    Calling SQLStatistics for T1
    Calling SQLColumns for moms_oracle.T1
    Column "id1": dtype=4, colsize=10, decdig=0, char_octet_length=0, cumulative avg row len=4
    Column "descr1": dtype=12, colsize=255, decdig=0, char_octet_length=255, cumulative avg row len=195
    Exiting hgotcis, rc=0 at 2010/08/04-10:24:20
    Entered hgopars, cursor id 1 at 2010/08/04-10:24:20
    type:0
    SQL text from hgopars, id=1, len=40 ...
    00: 53454C45 43542041 312E6069 6431602C [SELECT A1.`id1`,]
    10: 41312E60 64657363 72316020 46524F4D [A1.`descr1` FROM]
    20: 20605431 60204131 [ `T1` A1]
    Exiting hgopars, rc=0 at 2010/08/04-10:24:20
    Entered hgoopen, cursor id 1 at 2010/08/04-10:24:20
    hgoopen, line 83: NO hoada to print
    Exiting hgoopen, rc=0 at 2010/08/04-10:24:20
    Entered hgodscr, cursor id 1 at 2010/08/04-10:24:20
    Entered hgopcda at 2010/08/04-10:24:20
    Column:1(id1): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/08/04-10:24:20
    Entered hgopcda at 2010/08/04-10:24:20
    Column:2(descr1): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:256, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/08/04-10:24:20
    hgodscr, line 506: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 256 256 0/ 0 0 0 0 descr1
    Exiting hgodscr, rc=0 at 2010/08/04-10:24:21
    Entered hgoftch, cursor id 1 at 2010/08/04-10:24:21
    hgoftch, line 117: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 256 256 0/ 0 0 0 0 descr1
    SQLBindCol: column 1, cdatatype: -16, bflsz: 4
    SQLBindCol: column 2, cdatatype: 1, bflsz: 257
    2 rows fetched
    Exiting hgoftch, rc=0 at 2010/08/04-10:24:21
    Entered hgoftch, cursor id 1 at 2010/08/04-10:24:21
    hgoftch, line 117: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:2, WHT=5 (SELECT_LIST)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 5 256 0/ 0 0 0 0 descr1
    0 rows fetched
    Exiting hgoftch, rc=1403 at 2010/08/04-10:24:21
    Entered hgoclse, cursor id 1 at 2010/08/04-10:24:23
    Exiting hgoclse, rc=0 at 2010/08/04-10:24:23
    Entered hgodafr, cursor id 1 at 2010/08/04-10:24:23
    Exiting hgodafr, rc=0 at 2010/08/04-10:24:23
    Entered hgopars, cursor id 1 at 2010/08/04-10:24:23
    type:0
    SQL text from hgopars, id=1, len=31 ...
    00: 53454C45 43542060 69643160 2C606465 [SELECT `id1`,`de]
    10: 73637231 60204652 4F4D2060 543160 [scr1` FROM `T1`]
    Exiting hgopars, rc=0 at 2010/08/04-10:24:23
    Entered hgoopen, cursor id 1 at 2010/08/04-10:24:23
    hgoopen, line 83: NO hoada to print
    Exiting hgoopen, rc=0 at 2010/08/04-10:24:23
    Entered hgodscr, cursor id 1 at 2010/08/04-10:24:23
    Entered hgopcda at 2010/08/04-10:24:23
    Column:1(id1): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/08/04-10:24:23
    Entered hgopcda at 2010/08/04-10:24:23
    Column:2(descr1): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:256, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/08/04-10:24:23
    hgodscr, line 506: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 256 256 0/ 0 0 0 0 descr1
    Exiting hgodscr, rc=0 at 2010/08/04-10:24:24
    Entered hgoftch, cursor id 1 at 2010/08/04-10:24:24
    hgoftch, line 117: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 256 256 0/ 0 0 0 0 descr1
    SQLBindCol: column 1, cdatatype: -16, bflsz: 4
    SQLBindCol: column 2, cdatatype: 1, bflsz: 257
    2 rows fetched
    Exiting hgoftch, rc=0 at 2010/08/04-10:24:24
    Entered hgoftch, cursor id 1 at 2010/08/04-10:24:24
    hgoftch, line 117: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:2, WHT=5 (SELECT_LIST)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 5 256 0/ 0 0 0 0 descr1
    0 rows fetched
    Exiting hgoftch, rc=1403 at 2010/08/04-10:24:24
    Entered hgoclse, cursor id 1 at 2010/08/04-10:24:27
    Exiting hgoclse, rc=0 at 2010/08/04-10:24:27
    Entered hgodafr, cursor id 1 at 2010/08/04-10:24:27
    Exiting hgodafr, rc=0 at 2010/08/04-10:24:27
    Entered hgocomm at 2010/08/04-10:24:28
    keepinfo:0, tflag:1
    00: 4D4F4D53 44422E38 62393537 3032392E [MOMSDB.8b957029.]
    10: 322E3130 2E333131 3531 [2.10.31151]
    tbid (len 23) is ...
    00: 4D4F4D53 44425B32 2E31302E 33313135 [MOMSDB[2.10.3115]
    10: 315D5B31 2E345D [1][1.4]]
    cmt(0):
    Entered hgocpctx at 2010/08/04-10:24:28
    Exiting hgocpctx, rc=0 at 2010/08/04-10:24:28
    Exiting hgocomm, rc=0 at 2010/08/04-10:24:28
    Entered hgolgof at 2010/08/04-10:24:28
    tflag:1
    Exiting hgolgof, rc=0 at 2010/08/04-10:24:28
    Entered hgoexit at 2010/08/04-10:24:28
    Exiting hgoexit, rc=0 at 2010/08/04-10:24:28

    is null statement is post processed. This means in case of a select ALL records from the remote database are fetched into the Oracle database and the is null statement is then processed locally in the Oracle db.
    So thze select will work as it is handled internally in the Oracle database. This also means as But "is null" isn't sent to the foreign MySQL db the update clause will fail with ORA-02070: database PLAZAHOST does not support IS NULL in this context
    You need to recode the statement or use passthrough statements.

  • [unixODBC][Driver Manager]Driver does not support this function {IM001}

    Hello,
    I start from the end and details show below - this error message i got in sql session:
    SQL> select count(*) from EnergyType@ENERGOPLAN;
    select count(*) from EnergyType@ENERGOPLAN
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [unixODBC][Driver Manager]Driver does not support this function {IM001}
    ORA-02063: preceding 2 lines from ENERGOPLAN
    SQL>
    First question - is Oracle Heterogeneous Services are licensed for standard edition ? I cant find this information, and my database - is SE 11.2.0.3.0 - 64bit.
    If its ok and HS are licensed for SE, then please see details of my problem:
    ----OS and packages version
    [oracle@aris_sv_db log]$ uname -a
    Linux aris_sv_db 2.6.18-308.24.1.el5 #1 SMP Tue Dec 4 17:43:34 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
    [oracle@aris_sv_db log]$
    [oracle@aris_sv_db log]$ rpm -qa | grep odbc
    [oracle@aris_sv_db log]$ rpm -qa | grep unixodbc
    [oracle@aris_sv_db log]$ rpm -qa | grep unixODBC
    unixODBC-libs-2.2.11-10.el5
    unixODBC-libs-2.2.11-10.el5
    unixODBC-devel-2.2.11-10.el5
    unixODBC-2.2.11-10.el5
    unixODBC-devel-2.2.11-10.el5
    [oracle@aris_sv_db log]$ rpm -qa | grep freetds
    freetds-0.91-1.el5.rf
    [oracle@aris_sv_db log]$
    -----ODBC.INI, ODBCINST.INI and FREETDS.CONF
    [oracle@aris_sv_db log]$ more /home/oracle/.odbc.ini
    [ENERGOPLAN]
    Driver = FreeTDS
    Servername = ENERGOPLAN
    Database = ess2
    [oracle@aris_sv_db log]$
    [oracle@aris_sv_db log]$ more /etc/odbcinst.ini
    # Example driver definitions
    [FreeTDS]
    Description = MSSQL Driver
    Driver = /usr/lib64/libtdsodbc.so.0
    #Setup = /usr/lib64/libtdsodbc.so.0
    #Driver = /usr/lib64/libodbc.so
    #Driver = /usr/lib/libodbc.so
    UsageCount = 1
    Trace = Yes
    TraceFile = /tmp/freetds.log
    [ODBC]
    DEBUG = 1
    TraceFile = /tmp/sqltrace.log
    Trace = Yes
    [oracle@aris_sv_db log]$
    [oracle@aris_sv_db log]$ more /etc/freetds.conf
    # A typical Microsoft server
    [ENERGOPLAN]
    host = 192.168.10.64
    port = 1433
    tds version = 8.0
    # client charset = UTF-8
    client charset = cp1251
    [oracle@aris_sv_db log]$
    ----CHECK CONNECT from ODBC
    [oracle@aris_sv_db log]$ isql -v ENERGOPLAN user pass
    | Connected! |
    | |
    | sql-statement |
    | help [tablename] |
    | quit |
    | |
    SQL> select count(*) from EnergyType;
    | |
    | 8 |
    SQLRowCount returns 1
    1 rows fetched
    SQL> [oracle@aris_sv_db log]$ tsql -S ENERGOPLAN -U user -P pass
    locale is "en_US.UTF-8"
    locale charset is "UTF-8"
    using default charset "cp1251"
    1> select count(*) from EnergyType;
    2> go
    8
    (1 row affected)
    1> [oracle@aris_sv_db log]$
    ----LISTENER.ORA, TNSNAMES and initENERGOPLAN.ora
    [oracle@aris_sv_db log]$ more /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    SID_LIST_ENERGOPLAN =
    (SID_LIST =
    (SID_DESC=
    (SID_NAME=ENERGOPLAN)
    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
    (PROGRAM=dg4odbc)
    (ENVS="LD_LIBRARY_PATH=/usr/lib64:/u01/app/oracle/product/11.2.0/dbhome_1/lib")
    ENERGOPLAN =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = PNPKEY))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.72)(PORT = 1523))
    ADR_BASE_LISTENER = /u01/app/oracle
    [oracle@aris_sv_db log]$ more /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    ENERGOPLAN =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.72)(PORT=1523))
    (CONNECT_DATA=(SID=ENERGOPLAN))
    (HS=OK)
    [oracle@aris_sv_db log]$ more /u01/app/oracle/product/11.2.0/dbhome_1/hs/admin/initENERGOPLAN.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = ENERGOPLAN
    #HS_FDS_CONNECT_INFO = 192.168.0.199:1433//test
    HS_FDS_TRACE_LEVEL = DEBUG
    #HS_FDS_TRACE_FILE_NAME = /tmp/hs1.log
    HS_FDS_TRACE_FILE_NAME = /u01/app/oracle/product/11.2.0/dbhome_1/hs/log/mytrace.log
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so #/usr/lib64/libtdsodbc.so.0
    #HS_FDS_SHAREABLE_NAME = /usr/lib64/libtdsodbc.so.0
    #HS_FDS_SHAREABLE_NAME = /usr/lib/libodbc.so
    #HS_LANGUAGE=american_america.we8iso8859p1
    #HS_LANGUAGE=AMERICAN_AMERICA.AL32UTF8
    #HS_LANGUAGE=AMERICAN_AMERICA.CL8MSWIN1251
    #HS_LANGUAGE=RUSSIAN_RUSSIA.UTF8
    #HS_LANGUAGE=Russian_CIS.AL32UTF-8
    #HS_FDS_FETCH_ROWS=1
    HS_NLS_NCHAR = UCS2
    HS_FDS_SQLLEN_INTERPRETATION=32
    # ODBC specific environment variables
    set ODBCINI=/home/oracle/.odbc.ini
    set ODBCINSTINI=/etc/odbcinst.ini
    #HS_KEEP_REMOTE_COLUMN_SIZE=ALL
    #HS_NLS_LENGTH_SEMANTICS=CHAR
    #HS_FDS_SUPPORT_STATISTICS=FALSE
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    [oracle@aris_sv_db log]$
    [oracle@aris_sv_db log]$ tnsping ENERGOPLAN
    TNS Ping Utility for Linux: Version 11.2.0.3.0 - Production on 01-APR-2013 16:27:49
    Copyright (c) 1997, 2011, Oracle. All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.72)(PORT=1523)) (CONNECT_DATA=(SID=ENERGOPLAN)) (HS=OK))
    OK (0 msec)
    [oracle@aris_sv_db log]$
    ----CREATE DBLINK and test from sqlplus
    CREATE DATABASE LINK "ENERGOPLAN" CONNECT TO "user" IDENTIFIED BY "pass" USING 'ENERGOPLAN';
    [oracle@aris_sv_db log]$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.3.0 Production on Mon Apr 1 16:30:14 2013
    Copyright (c) 1982, 2011, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
    SQL> select count(*) from EnergyType@ENERGOPLAN;
    select count(*) from EnergyType@ENERGOPLAN
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [unixODBC][Driver Manager]Driver does not support this function {IM001}
    ORA-02063: preceding 2 lines from ENERGOPLAN
    SQL>
    ----logs from hs and odbc
    [oracle@aris_sv_db log]$ tail -50 ENERGOPLAN_agt_12117.trc
    12 VARCHAR N 100 100 0/ 0 1000 0 200 ConsumptionYearCostUOM
    3 DECIMAL N 24 24 9/ 3 0 0 0 ConsumptionYearFactorAmount
    -7 BIT N 1 1 0/ 0 0 0 20 NeedToBeApprovedByREK
    Exiting hgodtab, rc=0 at 2013/04/01-16:30:42
    Entered hgodafr, cursor id 0 at 2013/04/01-16:30:42
    Free hoada @ 0x14e5fd20
    Exiting hgodafr, rc=0 at 2013/04/01-16:30:42
    Entered hgopars, cursor id 1 at 2013/04/01-16:30:42
    type:0
    SQL text from hgopars, id=1, len=36 ...
    00: 53454C45 43542043 4F554E54 282A2920 [SELECT COUNT(*) ]
    10: 46524F4D 2022454E 45524759 54595045 [FROM "ENERGYTYPE]
    20: 22204131 [" A1]
    Exiting hgopars, rc=0 at 2013/04/01-16:30:42
    Entered hgoopen, cursor id 1 at 2013/04/01-16:30:42
    hgoopen, line 87: NO hoada to print
    Deferred open until first fetch.
    Exiting hgoopen, rc=0 at 2013/04/01-16:30:42
    Entered hgodscr, cursor id 1 at 2013/04/01-16:30:42
    Allocate hoada @ 0x14e5fd80
    Entered hgodscr_process_sellist_description at 2013/04/01-16:30:42
    Entered hgopcda at 2013/04/01-16:30:42
    Column:1(): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/04/01-16:30:42
    Entered hgopoer at 2013/04/01-16:30:42
    hgopoer, line 231: got native error 0 and sqlstate IM001; message follows...
    [unixODBC][Driver Manager]Driver does not support this function {IM001}
    Exiting hgopoer, rc=0 at 2013/04/01-16:30:42
    hgodscr, line 407: calling SQLSetStmtAttr got sqlstate IM001
    Free hoada @ 0x14e5fd80
    hgodscr, line 464: NO hoada to print
    Exiting hgodscr, rc=28500 at 2013/04/01-16:30:42 with error ptr FILE:hgodscr.c LINE:407 FUNCTION:hgodscr() ID:Set array fetch size
    Entered hgoclse, cursor id 1 at 2013/04/01-16:31:24
    Exiting hgoclse, rc=0 at 2013/04/01-16:31:24
    Entered hgocomm at 2013/04/01-16:31:24
    keepinfo:0, tflag:1
    00: 4F52434C 2E343535 32623466 342E362E [ORCL.4552b4f4.6.]
    10: 32322E37 363237 [22.7627]
    tbid (len 20) is ...
    00: 4F52434C 5B362E32 322E3736 32375D5B [ORCL[6.22.7627][]
    10: 312E345D [1.4]]
    cmt(0):
    Entered hgocpctx at 2013/04/01-16:31:24
    Exiting hgocpctx, rc=0 at 2013/04/01-16:31:24
    Exiting hgocomm, rc=0 at 2013/04/01-16:31:24
    Entered hgolgof at 2013/04/01-16:31:24
    tflag:1
    Exiting hgolgof, rc=0 at 2013/04/01-16:31:24
    Entered hgoexit at 2013/04/01-16:31:24
    Exiting hgoexit, rc=0
    [oracle@aris_sv_db log]$
    [oracle@aris_sv_db log]$ tail -50 /tmp/sqltrace.log
    Native = 0x7fff6ca974f4
    Message Text = 0x14e5f968
    Buffer Length = 510
    Text Len Ptr = 0x7fff6ca97750
    [ODBC][12117][SQLGetDiagRecW.c][582]
    Exit:[SQL_SUCCESS]
    SQLState = IM001
    Native = 0x7fff6ca974f4 -> 0
    Message Text = [[unixODBC][Driver Manager]Driver does not support this function]
    [ODBC][12117][SQLGetDiagRecW.c][540]
    Entry:
    Statement = 0x14e399f0
    Rec Number = 2
    SQLState = 0x7fff6ca97700
    Native = 0x7fff6ca974f4
    Message Text = 0x14e5f908
    Buffer Length = 510
    Text Len Ptr = 0x7fff6ca97750
    [ODBC][12117][SQLGetDiagRecW.c][582]
    Exit:[SQL_NO_DATA]
    [ODBC][12117][SQLEndTran.c][315]
    Entry:
    Connection = 0x14dbd4b0
    Completion Type = 0
    [ODBC][12117][SQLGetInfo.c][214]
    Entry:
    Connection = 0x14dbd4b0
    Info Type = SQL_CURSOR_COMMIT_BEHAVIOR (23)
    Info Value = 0x7fff6ca9781e
    Buffer Length = 8
    StrLen = 0x7fff6ca9781c
    [ODBC][12117][SQLGetInfo.c][528]
    Exit:[SQL_SUCCESS]
    [ODBC][12117][SQLEndTran.c][488]
    Exit:[SQL_SUCCESS]
    [ODBC][12117][SQLDisconnect.c][204]
    Entry:
    Connection = 0x14dbd4b0
    [ODBC][12117][SQLDisconnect.c][341]
    Exit:[SQL_SUCCESS]
    [ODBC][12117][SQLFreeHandle.c][268]
    Entry:
    Handle Type = 2
    Input Handle = 0x14dbd4b0
    [ODBC][12117][SQLFreeHandle.c][317]
    Exit:[SQL_SUCCESS]
    [ODBC][12117][SQLFreeHandle.c][203]
    Entry:
    Handle Type = 1
    Input Handle = 0x14dbb0c0
    [oracle@aris_sv_db log]$

    To see which ODBC function DG4ODBC is looking for and unixODBC isn't supporting it would be best to get an ODBC trace file. But as your unixODBC driver (unixODBC-2.2.11-10.el5) is outdated and these old drivers had a lot of issues when being used on 64bit operating systems (for example wrong sizeofint etc). So best would be to update the unixODBC Driver manager to release 2.3.x. More details can be found on the web site: www.unicodbc.org
    - Klaus

  • Page layout does not support "&auml".

    Hello. I used design manager to create a page layout (SharePoint 365). No matter what I am not able to fiqure out how to create characters like "&auml".
    Can someone confirm that SharePoint 2013 does not support non-English language page layouts. Users will be happy to know they cannot see pagelayout content written in their own language.
    Am I doing something wrong?
    Edit: Something stupid like this work but obviously this won't
    be my solution.
    <script type="text/javascript" charset="utf-8">document.write('&Auml;&auml;kk&ouml;nen!');</script>

    Hi,
    I would suggest you take a look at the post from Dennis in this similar thread to see whether it will work for you:
    http://social.technet.microsoft.com/Forums/en-US/54fa42e0-d168-4fee-8a7d-c7dbbab48d4b/page-layouts-and-display-templates-encoding-problem?forum=sharep
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Patrick Liang
    TechNet Community Support

  • Does JMF Support multilingual absolute paths for video playback?

    Hi everyone,
    I hope I can find some answer here.
    Does JMF supports multilingual paths for videos? E.g. I have a video located by the following URL:
    G:\video\Stürmische\video.mp4
    When I try to open this video by JMF, I get the following Exception: Problem playing video+
    javax.media.NoPlayerException: Cannot find a Player for :file:/G:/video/Stürmische/video.mp4_
    When I use the same video.mp4 file with path containing only simple latin letters, it's played normally.
    Is there any problem with JMF regarding to multilingual paths?
    Many thanks,
    Armine

    868310 wrote:
    I assume that it's a JMF cons. and IMHO, multilingual support for video paths/names should be added in it.Several things...
    1) JMF is designed to play both local files and RTP/RTSP file sources. As such, it uses URLs as resource locators. It makes perfect sense to make that design decision.
    2) URL encoding only allows alphanumeric characters and a handful of special characters. Considering the internet was invented by the United States army and our keyboards don't have those symbols, it makes perfect sense to make that design decision.
    3) Most importantly, JMF hasn't been updated since 2002 and development has been completely discontinued... so "multilingual support" won't ever be added to it.
    And it isn't multilingual support you're asking for, it's support for non-ASCII characters.
    It is my understanding that you can take a path like:
    G:\video\Stürmische\video.mp4
    Run it through some encoding procedure, and come out with a usable URL like:
    G:%5Cvideo%5CSt%FCrmische%5Cvideo.mp4
    Which I got by using the encoder on the following website:
    http://www.blooberry.com/indexdot/html/topics/urlencoding.htm
    Coincidentally, had you done the research that I suggested you do, you might have learned that Java already has something built in to handle encoding non-compliant URLs for you.
    http://download.oracle.com/javase/1.5.0/docs/api/java/net/URLEncoder.html
    So, I'd expect you could use the URLEncoder class to implement suggestion #3 from my previous post.

  • ZHANWIN device type does not print Korean characters

    Hi All,
    We are trying to print smart forms containing Chinese,Taiwanese and Korean characters from our ECC 6.0
    As per SAP Note 1038413 - Unicode SAPWIN device type for CJK fon, we used the device type ZHANWIN to print smart forms for these characters. 
    But with this device type we are unable to print smart forms with Korean characters. But as per the note, it has to support Korean characters too.
    Please help with this issue.
    Thanks and Regards,
    Subashree

    Hi Subashree,
    it is likely that the problem with ZHANWIN is related to the font used in the form. if you want to print Korean characters via ZHANWIN, you need to specify a Korean font like KPBATANG for the Korean characters in the form. Then this will be mapped to a suitable windows font in windows. If you chosse e.g font COURIER , it is mapped to windosw font Courier New which does nto contain the Korean characters.
    For SWINCF or SWINCFCK the font in SAP is not so impertant. The mapping of the characters in windows is based on the Unicode character range. So as Nils said, SWINCFCK should work regardless of the font in the SAP form.
    Regards,
    Aidan

  • Does apex support any server side JSP or PHP?

    I have the folowing script that is used to save flash files as images. I am hoping there is some way to make these serverside calls from within apex.
    <%@ page import="java.io.OutputStream"%>
    <%@ page import="java.awt.Color"%>
    <%@ page import="java.awt.Graphics"%>
    <%@ page import="java.awt.image.BufferedImage"%>
    <%@ page import="javax.imageio.ImageIO"%>
    <%
         //Decoded data from charts.
         String data="";
         //Rows of color values.
         String[] rows;
         //Width and height of chart.
         int width=0;
         int height=0;
         //Default background color of the chart
         String bgcolor="";
         Color bgColor;
         //Get the width and height from form
         try{
              width = Integer.parseInt(request.getParameter("width"));
              height = Integer.parseInt(request.getParameter("height"));     
         catch(Exception e){
              //If the width and height have not been given, we cannot create the image.
              out.print("Image width/height not provided.");
              out.close();
         if(width==0 || height==0){
              //If the width and height are less than 1, we cannot create the image.
              out.print("Image width/height not provided.");
              out.close();
         //Get background color from request and set default
         bgcolor =request.getParameter("bgcolor");
         if (bgcolor==null || bgcolor=="" || bgcolor==null){
                   bgcolor = "FFFFFF";
         //Convert background color to color object     
         bgColor = new Color(Integer.parseInt(bgcolor,16));
         //Get image data  from request
         data = request.getParameter("data");
         if(data==null){
              //If image data not provided.
              out.print("Image Data not supplied.");
              out.close();
         try{
              //Parse data
              rows = new String[height+1];
              rows = data.split(";");
              //Bitmap to store the chart.
              //Reference to graphics object - gr
              BufferedImage chart = new BufferedImage(width,height,BufferedImage.TYPE_3BYTE_BGR);
              Graphics gr = chart.createGraphics();
              gr.setColor(bgColor);
              gr.fillRect(0,0,width,height);     
              String c;
              int r;
              int ri = 0;
              for (int i=0; i<rows.length; i++){
                   //Split individual pixels.               
                   String[] pixels = rows.split(",");               
                   //Set horizontal row index to 0
                   ri = 0;
                   for (int j=0; j<pixels.length; j++){                    
                        //Now, if it's not empty, we process it                    
                        //Split the color and repeat factor
                        String[] clrs = pixels[j].split("_");     
                        //Reference to color
                        c = clrs[0];
                        r = Integer.parseInt(clrs[1]);
                        //If color is not empty (i.e. not background pixel)
                        if (c!=null && c.length()>0 && c!=""){          
                             if (c.length()<6){
                                  //If the hexadecimal code is less than 6 characters, pad with 0
                                  StringBuffer str = new StringBuffer(c);
                                  int strLength = str.length();
                                  for ( int p = c.length()+1; p <= 6 ; p ++ ) {
                                            str.insert( 0, "0" );
                                  //Assing the new padded string
                                  c = str.toString();
                             for (int k=1; k<=r; k++){     
                                  //Draw each pixel
                                  gr.setColor(new Color(Integer.parseInt(c,16)));
                                  gr.fillRect(ri, i,1,1);
                                  //Increment horizontal row count
                                  ri++;                              
                        }else{
                             //Just increment horizontal index
                             ri = ri + r;
              //Returns the image
              response.setContentType("image/jpeg");
              response.addHeader("Content-Disposition", "attachment; filename=\"FusionCharts.jpg\"");
              OutputStream os = response.getOutputStream();
              ImageIO.write(chart, "jpeg", os);
              os.close();
         }catch(Exception e){
              //IF the image data is mal-formatted.
              out.print("Image data is not in proper format.");
              out.close();
    %>

    NO, APEX does NOT support running jsp or PHP scripts..
    Thank you,
    Tony Miller
    Webster, TX

  • Why the iPod does not support Thai language

    Why the iPod does not support the Thai language? iTunes supports it. If I drag a song with ID3 tags into my iPod the title becomes blank. If I remove the ID3 tags the title displays but the enconding of the characters are inccorect.

    Why the iPod does not support the Thai language?
    The languages supported by the iPod are listed in detail in its tech specs:
    http://www.apple.com/ipod/specs.html
    Hopefully future versions will expand the list to included Arabic, Hebrew, Thai, Vietnamese, Hindi, etc.

Maybe you are looking for

  • NO Wireless for my iPad Air

    Eight hours of trying, but still no wireless. I am ready to give up. I have read several posts, and I have tried everything: 1. Shut off my Netgear router/restarted it 2. Reset settings on my iPad Air 3. Used airplane mode to turn off wireless before

  • Error in DAT_Account

    Hello, I realized the load of a new IMSI to an instance of BRM (Portal Roaming) through the process Batch_Controller, this load correctly and generated an account number with no problem. It was associated with the products, services and deals as well

  • How can I detect and eliminate duplicate photos in iphoto?

    I am looking for help. I have many duplicates in iphoto and would would like to detect and eliminate them. Any suggestions?

  • Deleting items off icloud

       ,n,mn ,,m

  • External Service Management [Master Data]

    Hi Experts,        What is the table for Model service Specification. Thanks in advance.