Problem inserting special Hungarian characters into db

Hi,
I've posted this question in the database connection forum
but put it here too because I don't know where to fit better.
I read that it would be the most straightforward way to do
everything in UTF-8 because it handles well special characters so
I've tried to set up a simple testing environment. Besides I use CF
MX7 and my hosting provider creates the dsn for me so I think the
db driver is JDBC but not sure.
1.) In Dreamweaver I created a page with UTF-8 encoding set
the Unicode Normalization Form to "C" and checked the include
unicode signature (BOM) checkbox. This created a page with the meta
tag: <meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />. I've checked the HTTP header with an online
utility at delorie.com and it gave me the following info:
HTTP/1.1, Content-Type: text/html; charset=utf-8, Server:
Microsoft-IIS/6.0
2.) Then I put the following codes into the top of my page
before everything:
<cfprocessingdirective pageEncoding = "utf-8">
<cfset setEncoding("URL", "utf-8")>
<cfset setEncoding("FORM", "utf-8")>
<cfcontent type="text/html; charset=utf-8">
3.) I wrote some special Hungarian chars
(<p>őű</p>) into the page and they displayed
well all the time.
4.) I've created a simple MySQL db (MySQL Community Edition
5.0.27-community-nt) on my shared hosting server with phpMyAdmin
with default charset of UTF-8 and choosing utf8_hungarian_ci as
default collation. Then I creted a MyISAM table and the collation
was automatically applied to my varchar field into wich I stored
data with special chars. I've checked the properties of the MySQL
server in MySQL-Front prog and found the following settings under
the Variables tab: character_set_client: utf8,
character_set_connection: utf8, character_set_database: latin1,
character_set_results: utf8, character_set_server: latin1,
character_set_system: utf8, collation_connection: utf8_general_ci,
collation_database: latin1_swedish_ci, collation_server:
latin1_swedish_ci.
5.) I wrote a simple insert form into my page and tried it
using both the content of the form field and a hardcoded string
value and even tried to read back the value of the
#FORM.special_char# variable. In each cases the special Hungarian
chars changed to "q" or "p" letters.
Can anybody see something wrong in the above mentioned or
have an idea to test something else?
I am thinking about to try this same page against a db on my
other hosting providers MySQL server.
Here is the to the form:
http://209.85.117.174/pages/proba/chartest/utf8_1/form.cfm
Thanks, Aron

Some new info about the advancements in my project:
I've tried to make the insertion at a third hosting
provider's MySQL server with my 'everything is UTF-8' test case and
IT'S DONE! There are my lovely spec chars :-)
Then I've checked the char encoding according -Per's tip in
all of my so far used test MySQL dbs and it reported that
'CHARSET=utf8 COLLATE=utf8_hungarian_ci' so this part seems to me
OK.
I asked my hosting provider where my production app should
run about the db driver and they told it's JDBC (what version of
Jconnect still donno') and they are ready to append
&characterSetResults=UTF-8 to the JDBC url connection string
(somebody told this tip also as a possible soultion) but they asked
me to provide the complete connection string to be used for my
datasource. I've tried to compose it in my localhost development
environment in ColdFusion Admin but it gave me a Connection
verification failed error. So I think I did something wrong and
need help to write the correct connection string that can be passed
to the hosting provider. So the connection string structure I tried
to use in the JDBC URL field of the datasource area of CFAdmin is
something like this:
jdbc:mysql://someipaddresshere/mydbname&characterSetResults=UTF-8
How can it be corrected?
Thanks, Aron

Similar Messages

  • Problem inserting text with special Hungarian characters into MySQL database

    When I insert text into my MySQL db the special Hungarian
    characters (ő,ű) they change into "?".
    When I check the
    <cfoutput>#FORM.special_character#</cfoutput> it gives
    me the correct text, things go wrong just when writing it into the
    db. My hosting provider said the following: "please try to
    evidently specify "latin2" charset with "latin2_hungarian_ci"
    collation when performing any operations with tables. It is
    supported by the server but not used by default." At my former
    hosting provider I had no such problem. Anyway how could I do what
    my hosting provider has suggested. I read a PHP related article
    that said use "SET NAMES latin2". How could I do such thing in
    ColdFusion? Any suggestion? Besides I've tried to use UTF8 and
    Latin2 character encoding both on my pages and in the db but with
    not much success.
    I've also read a French language message here in this forum
    that suggested to use:
    <cfscript>
    setEncoding("form", "utf-8");
    setEncoding("url", "utf-8");
    </cfscript>
    <cfcontent type="text/html; charset=utf-8">
    I' ve changed the utf-8 to latin2 and even to iso-8859-2 but
    didn't help.
    Thanks, Aron

    I read that it would be the most straightforward way to do
    everything in UTF-8 because it handles well special characters so
    I've tried to set up a simple testing environment. Besides I use CF
    MX7 and my hosting provider creates the dsn for me so I think the
    db driver is JDBC but not sure.
    1.) In Dreamweaver I created a page with UTF-8 encoding set
    the Unicode Normalization Form to "C" and checked the include
    unicode signature (BOM) checkbox. This created a page with the meta
    tag: <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />. I've checked the HTTP header with an online
    utility at delorie.com and it gave me the following info:
    HTTP/1.1, Content-Type: text/html; charset=utf-8, Server:
    Microsoft-IIS/6.0
    2.) Then I put the following codes into the top of my page
    before everything:
    <cfprocessingdirective pageEncoding = "utf-8">
    <cfset setEncoding("URL", "utf-8")>
    <cfset setEncoding("FORM", "utf-8")>
    <cfcontent type="text/html; charset=utf-8">
    3.) I wrote some special Hungarian chars
    (<p>őű</p>) into the page and they displayed
    well all the time.
    4.) I've created a simple MySQL db (MySQL Community Edition
    5.0.27-community-nt) on my shared hosting server with phpMyAdmin
    with default charset of UTF-8 and choosing utf8_hungarian_ci as
    default collation. Then I creted a MyISAM table and the collation
    was automatically applied to my varchar field into wich I stored
    data with special chars. I've checked the properties of the MySQL
    server in MySQL-Front prog and found the following settings under
    the Variables tab: character_set_client: utf8,
    character_set_connection: utf8, character_set_database: latin1,
    character_set_results: utf8, character_set_server: latin1,
    character_set_system: utf8, collation_connection: utf8_general_ci,
    collation_database: latin1_swedish_ci, collation_server:
    latin1_swedish_ci.
    5.) I wrote a simple insert form into my page and tried it
    using both the content of the form field and a hardcoded string
    value and even tried to read back the value of the
    #FORM.special_char# variable. In each cases the special Hungarian
    chars changed to "q" or "p" letters.
    Can anybody see something wrong in the above mentioned or
    have an idea to test something else?
    I am thinking about to try this same page against a db on my
    other hosting providers MySQL server.
    Here is the to the form:
    http://209.85.117.174/pages/proba/chartest/utf8_1/form.cfm
    Thanks, Aron

  • Inserting special french characters into UTF8 database

    Hello ,
    we have a database of release 10.2.0.5.0 with the following NLS settings:
    PARAMETER
    VALUE
    NLS_CALENDAR
    GREGORIAN
    NLS_CHARACTERSET
    UTF8
    NLS_COMP
    BINARY
    NLS_CURRENCY

    NLS_DATE_FORMAT
    DD.MM.RR
    NLS_DATE_LANGUAGE
    GERMAN
    NLS_DUAL_CURRENCY

    NLS_ISO_CURRENCY
    GERMANY
    NLS_LANGUAGE
    GERMAN
    NLS_LENGTH_SEMANTICS
    BYTE
    NLS_NCHAR_CHARACTERSET
    AL16UTF16
    NLS_NCHAR_CONV_EXCP
    FALSE
    NLS_NUMERIC_CHARACTERS
    NLS_SORT
    GERMAN
    NLS_TERRITORY
    GERMANY
    NLS_TIME_FORMAT
    HH24:MI:SSXFF
    NLS_TIMESTAMP_FORMA
    DD.MM.RR HH24:MI:SSXFF
    NLS_TIMESTAMP_TZ_FORMAT
    DD.MM.RR HH24:MI:SSXFF TZR
    NLS_TIME_TZ_FORMAT
    HH24:MI:SSXFF TZR
    When executing a script including special french characters with SQL*Plus (or with a job of Cloud Control) the result in the database shows up wrong:
    e.g. FR R�au instead of  FR Réseau
    When checking the HEX-code of the special french characters in the script these are correct:
    é => E9
    Setting the environment variable NLS_LANG to FRENCH_FRANCE.UTF8 before executing the script does not make any difference at all.
    When checking the sign � in the string FR R�au with the dump function of SQL*Plus I get this result:
    Typ=1 Len=3 CharacterSet=UTF8: e9,73,65
    Seems to be OK - but why does it get displayed wrong? Is the client - in our case a application - responsible for the "how to display"?
    Any help will be appreciated!
    Rgds
    Jan

    Hi,
    If you have My Oracle support access I suggest to check one of following two documents:
    Oracle Metalink: The correct NLS_LANG in a Windows Environment Doc ID: 179133.1 
    Oracle Metalink: The correct NLS_LANG setting in Unix Environments Doc ID: 264157.1
    depending your env.
    Check your data using SQL Developer and see if it displays well. If yes your data is ok in db.

  • Fail to pass special Hungarian characters using WSDL

    Dear All,
    I'm using WLS 7.0SP1, the webservice is generated with the ant task in rpc-style.
    The client is written in VB6 with MS SoapToolkit3.
    The simple method that receives and returns a
    string fails when the input or output
    contains special Hungarian characters.
    Can anyone help how to solve the problem?
    Thank you,
    Peter

    Hello,
    Thank you for the help, I set the property and it's working fine,
    the characters appear as they should!
    Meanwhile I realized that the failiure was because of some
    unneeded '\0' characters at the back of the strings.
    Thank you again,
    Peter
    Bruce Stephens <[email protected]> wrote:
    Hello,
    On the server, is the VM locale set to "en" ?
    Try setting the the following system property on the server startup:
    weblogic.webservice.i18n.charset="utf-8"
    Could you post a SOAP trace?
    Thanks,
    Bruce
    Peter Dobszai wrote:
    Dear All,
    I'm using WLS 7.0SP1, the webservice is generated with the ant taskin rpc-style.
    The client is written in VB6 with MS SoapToolkit3.
    The simple method that receives and returns a
    string fails when the input or output
    contains special Hungarian characters.
    Can anyone help how to solve the problem?
    Thank you,
    Peter

  • Sap script - Problem while printing Hungarian characters during Unicode

    Hello Friends,
    We had done  unicode changes ie Version upgrade from 4.6 C to ECC and because of that sap script Hungarian characters are printing as Junk characters ex - #####.
    Can any one please help me on this issue. In SO10 Print preview also we are facing same issue.
    Thank you,
    Regards,
    Phaneendra

    Hi Phaneedhra,
    the below thread explains the font issue for Hungary..
    SAPScript with Hungarian characters on it.  Weh we review the output online it looks good, but when we print it we get a u2018#u2019 in place of Hungarian characters.  I found the following link in SDN and am wondering if you can help.
    Hungarian Character Printing problem
    Problem in displaying special chars
    Prabhudas

  • ORA-01461 when trying to insert text 4000 characters into a CLOB column

    I work on a Windows application that connects to databases using ODBC. I'm currently working on adding Oracle support to the application, but I'm running into a lot of problems inserting strings of more than 4000 characters into CLOB columns. First, I tried to do that directly using code similar to the following (setup, cleanup, and error checking snipped for clarity).
    SQLHDBC hDbc;
    SQLHSTMT hStmt;
    unsigned char query[200];
    SQLAllocStmt(hDbc, &hStmt);
    strcpy(query,"INSERT INTO test_table (col_clob, col_int) ('long string', 1)");
    SQLExecDirect(hStmt,query,strlen(query));
    Of course, "long string" was really a string of more than 4000 characters. When I did that, I got an error indicating that I needed to use bind parameters for strings that long. However, bind parameters don't seem to work either. I changed my code to something like the following:
    SQLHDBC hDbc;
    SQLHSTMT hStmt;
    unsigned char query[200];
    +unsigned char *str=NULL;+
    int str_size;
    SQLAllocStmt(hDbc, &hStmt);
    strcpy(query,"INSERT INTO test_table (col_clob, col_int) (:strvar, 1)");
    SQLPrepare(hStmt,query,SQL_NTS);
    str = (unsigned char*)malloc(6000 * sizeof(unsigned char));
    SQLBindParameter(hStmt, 1, SQL_PARAM_INPUT, SQL_C_CHAR, SQL_VARBINARY, 0, 0, str, sizeof(str), &str_size);
    strcpy(str,'long_string');
    str_size = SQL_NTS;
    SQLExecute(hStmt);
    This code works fine when 'long_string' is less than 4000 characters. When it's greater than that, I get the following error:
    +[Oracle][ODBC][Ora]ORA-01461: can bind a LONG value only for insert into a LONG column+
    I'm using Visual Studio.NET 2003 on Windows XP, and Oracle client 11.1.0.6.0. My server version is as follows:
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    I thought I read somewhere that this is a known bug with Oracle 10.2.0.1.0, but I can't seem to find the reference now. Can anyone confirm this or provide some assistance with this problem? Frankly, it seems kind of ridiculous that I can't do something as simple as inserting a reasonably sized amount of text into a CLOB column. I'm considering using BFILEs instead, but that would be kind of a pain to fit into our application, so I'd prefer not to do this if at all possible.
    Thanks in advance for any help.

    I found this link referring to a similar problem that was apparently fixed in version 10.2.0.4 of the server: ORA-01461: can bind a LONG value only for insert into a LONG column Should I try to upgrade the server and see if that fixes things?

  • Problem with special national characters

    Hi,
    How can I turn on the Oracle Application Server 10g to correct expose special national characters (ANSI 1250 Central Europe page)?
    It hosted on Windows Server 2003 where are appropriate character resources.
    Thanks in advance
    KM

    Check the available languages in SMLT (trn). In example stated below the characters coming from DI are Spanish characters, which are gettnig converted to Swedish 1s.
    Please go through the following:
    Re: Japanese characters

  • Problem with special extra characters

    Hi Experts,
    I´m working in SAP BW 7.0 using Data Integrator XI 3.1 with SAP BW as a target and BO DI as a source and we have some problems with the load process
    I have problems with the conversion of special characters that exist in DI and in BI arrive as an entirely different character, for example, Ñ is replaced with Å , and so on witn the á, é, í, ó, ú, etc
    In SAP BI these characters were included in the T-code RSKC (Maintenance of the permitted extra characters in BW) as special characters. In addition I tried to change the character set settings in order to use the 1100 SAP internal, like ISO 8859-1 in the infopackage but it doesn't works neither.
    The character encoding used in DI by default is utf-8.
    Can anyone hel me to solve this issue?
    Thanks in advanced.

    This worked in BW 3.5:
    Use function module RSKC_CHAVL_OF_IOBJ_CHECK to covert Special characteristics into Latin ones.
    John Hawk

  • Insert chinese big5 characters into database

    database: mysql
    default charset of web page: utf-8 (specified in apache, all
    pages are in utf-8)
    if I enter english, database insert is ok but if I enter
    chinese, error = "You have an error in your SQL syntax; check the
    manual that corresponds to your MySQL server version for the right
    syntax to use near '?, ?)' at line 1"
    display inputted fields are OK.
    *** form.cfm ***
    <form action="insert.cfm" method="post">
    name: <input type="text" name="name"
    value=""><BR>
    Password: <input type="text" name="password"
    value=""><BR>
    <input type="submit" name="login_user"
    value="insert"><BR>
    </form>
    *** insert.cfm ***
    <cfoutput>
    #Form.name#<Br>
    #form.password#<br>
    </cfoutput>
    <cfquery name="insert" datasource="test">
    insert into test (name,password) values ('#Form.name#',
    '#Form.password#')
    </cfquery>

    dynason wrote:
    > database: mysql
    > default charset of web page: utf-8 (specified in apache,
    all pages are in
    > utf-8)
    what version of cf5? what version of mysql? has to be at
    least 4.1. is the db,
    etc. setup to handle that encoding? do you really want to use
    BIG5 instead of
    unicode? what db driver? it can't be ODBC.

  • Problem inserting Stream or ByteArray into Blob field.

    Hello,
    I am attempting to insert a file that has been converted into a byte array and also an input stream. When the file is less than 50kb it does successfully get inserted into the Blob field. When it is larger, it fails with the following stack trace:
    06/12/07 10:20:57 java.sql.SQLException: Invalid argument(s) in call
    06/12/07 10:20:57 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    06/12/07 10:20:57 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
    06/12/07 10:20:57 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
    06/12/07 10:20:57 at oracle.jdbc.dbaccess.DBItem.setArrayData(DBItem.java:270)
    06/12/07 10:20:57 at oracle.jdbc.dbaccess.DBItem.setArrayData(DBItem.java:246)
    06/12/07 10:20:57 at oracle.jdbc.dbaccess.DBDataSetImpl.setBytesBindItem(DBDataSetImpl.java:2484)
    06/12/07 10:20:57 at oracle.jdbc.driver.OraclePreparedStatement.setItem(OraclePreparedStatement.java:1219)
    06/12/07 10:20:57 at oracle.jdbc.driver.OraclePreparedStatement.setBytes(OraclePreparedStatement.java:2307)
    06/12/07 10:20:57 at com.evermind.sql.PreparedStatementBCELProxy.setBytes(PreparedStatementBCELProxy.java:201)
    06/12/07 10:20:57 at mil.dla.finance.issueTracker.AbstractIssueTrackerAction.insertNewIssueItem(AbstractIssueTrackerAction.java:265)
    06/12/07 10:20:57 at mil.dla.finance.issueTracker.WriteIssueAction.execute(WriteIssueAction.java:181)
    06/12/07 10:20:57 at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    06/12/07 10:20:57 at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    06/12/07 10:20:57 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    06/12/07 10:20:57 at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    06/12/07 10:20:57 at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    06/12/07 10:20:57 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    06/12/07 10:20:57 at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    06/12/07 10:20:57 at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    06/12/07 10:20:57 at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    06/12/07 10:20:57 at mil.dla.finance.common.filters.UserAuthFilter.doFilter(UserAuthFilter.java:201)
    06/12/07 10:20:57 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)
    06/12/07 10:20:57 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
    06/12/07 10:20:57 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
    06/12/07 10:20:57 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    06/12/07 10:20:57 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    06/12/07 10:20:57 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    06/12/07 10:20:57 at java.lang.Thread.run(Thread.java:534)
    Any assistance would be greatly appreciated.

    I thought I had found the answer here: http://www.oracle.com/technology/sample_code/tech/java/codesnippet/jdbc/lob/LobToSP.html
    I adapted the Clob code to a Blob:
    private BLOB getBLOB( byte[] array)
    throws Exception {
    BLOB b = null;
    try {
    // create a new temporary BLOB
    b = BLOB.createTemporary( conn, true, BLOB.DURATION_SESSION );
    // Open the temporary BLOBin readwrite mode to enable writing
    b.open( BLOB.MODE_READWRITE );
    b.setBytes(array);
    // Get the output stream to write
    } catch ( Exception exp ) {
         // Free BLOB object
    b.freeTemporary( );
    // do something
    return b;
    however, it appears that the BLOB being returned is null, and when sent to the DB, nothing is actually written. So any help/suggestions would be greatly appreciated.
    Message was edited by:
    SFBell09

  • Entry of non-English characters into the db

    Hi
    We are facing a problem in inserting non-English characters into the database.For example, we have a company name field which can accept German characters. This field has been defined as of varchar2 type of size 50 in the db. When we enter 49 English characters and then one German character, the database is throwing the error that the inserted value is too large for the column.Is it that the German character is taken as equivalent to two English characters ? Or is there any database level setting that can be done for this ? For the time being we have identified certain critical fields and have doubled the size of their fields in the db. But I guess there has to be another solution to this....
    Please help.
    null

    Indeed, your German character is using two bytes to store itself. Consult the Oracle JDBC Developer's Guide.
    null

  • Entry of non-English characters into database

    Hi
    We are facing a problem in inserting non-English characters into the database.For example, we have a company name field which can accept German characters. This field has been defined as of varchar2 type of size 50 in the db. When we enter 49 English characters and then one German character, the database is throwing the error that the inserted value is too large for the column.Is it that the German character is taken as equivalent to two English characters ? Or is there any database level setting that can be done for this ? For the time being we have identified certain critical fields and have doubled the size of their fields in the db. But I guess there has to be another solution to this....
    Please help.
    TIA
    Vinoj

    Indeed, your German character is using two bytes to store itself. Consult the Oracle JDBC Developer's Guide.
    null

  • Oracle and PHP - insert special characters problem

    I have computer with these software:
    Fedora Core 4
    Apache 2.0.54
    PHP 5.0.4
    Oracle 10.2.0
    Firefox (character set: UTF8)
    System environment:
    [oracle@computer /] echo $ORACLE_HOME
    /db/u01/app/oracle/product/10.2.0/db_1
    [oracle@computer /] echo $NLS_LANG
    SLOVENIAN_SLOVENIA.AL32UTF8
    I get this for every user, because I have in /etc/profiles:
    NLS_LANG=SLOVENIAN_SLOVENIA.AL32UTF8; export NLS_LANG;
    ORACLE_HOME=/db/u01/app/oracle/product/10.2.0/db_1; export ORACLE_HOME;
    Oracle NLS parameters:
    SQL> SELECT NLS_LANGUAGE, NLS_TERRITORY, NLS_CHARACTERSET FROM NLS_DATABASE_PARAMETERS;
    SLOVENIAN, SLOVENIA, AL32UTF8
    And similar for NLS_INSTANCE_PARAMETERS and NLS_SESSION_PARAMETERS.
    phpinfo() returns:
    Apache Environment
    Variable     Value
    NLS_LANG      SLOVENIAN_SLOVENIA.AL32UTF8
    In /etc/php.ini I have:
    default_charset = "UTF-8"
    mbstring.internal_encoding = UTF-8
    In /etc/httpd/conf/httpd.conf:
    SetEnv NLS_LANG SLOVENIAN_SLOVENIA.AL32UTF8
    In my PHP script "oracle.php" (file encoding is UTF-8) I have:
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" >
    putenv("NLS_LANG=SLOVENIAN_SLOVENIA.AL32UTF8");
    And then code similar to Example 2 in: http://www.php.net/manual/en/ref.oci8.php
    Problem
    When I am trying with PHP insert character "š" ( http://www.fileformat.info/info/unicode/char/0161/index.htm ) or some other special character into Oracle table and then do SELECT from this table I get value "??" which is wrong.
    There is no problem for example with char "a". There is no problem inserting data with SQLPlus or Toad for Oracle - inserted data is always correct. There is no problem for example with echo("some_special_sharacters"); in PHP. I have no problems inserting data with PHP to MySQL database.
    I have read this, but problem still exists:
    http://www.oracle.com/technology/tech/php/pdf/globalizing_oracle_php_applications.pdf
    Plese help.
    Thanks!

    How do you insert it? How do you select it? Where are you viewing the character? What is in the database after the INSERT?
    (SELECT DUMP(col,1016) FROM tab)
    -- Sergiusz

  • Insert Unicode Characters Into Oracle 8.1.5

    Hello,
    First off, here are the specs:
    Oracle 8.1.5
    JDK 1.2.1
    Oracle8i 8.1.6.2.0 JDBC Drivers for use with JDK 1.2.x for Solaris
    I'm running into a problem with insert Unicode characters into Oracle via the JDBC driver. As you can see above, I am using the Oracle 8.1.6.2.0 JDBC driver because it is the first driver with supports the JDK 1.2.x. So I think I should be okay.
    I can retrieve data with special characters from Oracle by calling the getBytes() method from the ResultSet with all special characters being intact. I am using getBytes because calling getString() would throw the following exception: "java.sql.SQLException(): Fail to convert between UTF8 and UCS2: failUTF8Conv". However, with that value that I just retrieved, or any other data with special characters (unicode) in which I try to insert into Oracle does not get converted properly.
    What appears to be happening is that data with special characters (unicode), are not being treated as a single double byte character, but rather two single byte characters. Thus, R|ckschlagventil becomes RC<ckschlagventil once it is inserted. (Hopefully, my example will be rendered properly).
    According to all documentation that I have found, the JDBC driver should not have any problem with converting UCS2 Java Strings to Oracle's UTF8 character set.
    I have set Oracle's NLS_NCHAR_CHARACTERSET to UTF8. I am also setting the environment variable NLS_LANG to AMERICAN_AMERICA.UTF8. Perhaps there is some other environment setting in which I am missing?
    Any help would be appreciated,
    Christian
    null

    Import has a lot of options, so it depends on what you want to do.
    C:\> imp help=y
    will show you all possible options. An example of full import :
    C:\> imp <username>/<password>@<TNS alias> file=<DMP file> full=y log=<LOG file>
    Message was edited by:
    Paul M.
    ...and there is always [url http://download-uk.oracle.com/docs/cd/F49540_01/DOC/index.htm]The documentation

  • Problem Inserting Flash Video (flv) File into Site

    Hi -
    I'm having problems inserting a Flash Video (.flv) into my webpage.  I'm using Dreamweaver 8.
    I'm going to: Insert -  Media - Flash Video, browsing to the .flv file that's in my local site folder, entering the settings.
    In Dreamweaver, there's a big gray box w/ flv icon in the middle.  But when I go to preview, the screen is empty, no video.
    I'm creating the .flv file w/ Screen Mimic (a screen capture recording software).  This could be a problem w/ the Screen Mimic file because I have no problem inserting other flv files supplied to me by others.  This is the first video that I've made that I'm trying to insert. 
    If anyone has any suggestions, I would be most appreciative.
    thanks!
    Stacey Stanley

    This could be a problem w/ the Screen Mimic file because I have no problem inserting other flv files supplied to me by others.
    That would my guess too. Here are few other things to consider:
    1)  Does your FLV filename contain any spaces or special characters?  If so, rename it without spaces as these can cause problems.
    2)  Output Screen Mimic project to a QuickTime MOV file.  Then use Adobe Flash Encoder to convert the MOV to FLV.
    3)  When you tested your page, was it a live page on remote server?  Did you upload the page and all supporting files to server (Scripts folder, SWF, FLV...)?
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics |  Print | Media Specialists
    www.alt-web.com/
    www.twitter.com/altweb

Maybe you are looking for

  • Deleting an image backup in Windows 8.1

    How to safely delete an image backup under Windows 8.1 to free up disk space?

  • Ical not showing new events and older events as well

    Hi There, Since (as I recall) last monday, iCal started to work strange. Or, better put in other way: stopped working. I have three calendars only (personal, work and "no category), all of them syncing with iCloud. There are two other local calendars

  • Auto-scoll (middle mouse button) gone/not working in Firefox 20/Windows 7 64-bit?

    duplicate of [/questions/956896] I recently upgraded both my work PC and my home PC to Firefox 20.0.1. My work PC (Win XP 32-bit) works fine, but my home PC (Win 7 64-bit) no longer allows me to auto-scroll when I click the middle mouse button (it do

  • Get me out of this hole

    I am working for a dinosaur company. They have me using a PC that, even though it runs XP, looks like something from the 90s. I also have a G5, but it is running OSX.2.8! What can I do to get back into this century? I want to get to at least Tiger on

  • EDI-IDOC documentation procedure for mapping

    Hi All, I came across a confusion about some T.Codes for IDOC documentation. I want to know the difference between WE60, WE61, WE62 and WE63. All are using the same screen program and I m only authorized to use WE60. I came to know that WE63 is used