Chinese garbled in MSSQL2000 - by ASP

Hi experts,
Here I got some problems with my application.  (ASP & English Version SQL Server 2000)
As we are using English MSSQL Server 2000, we got some new functions and we have to facilitate support of Chinese characters in the DB. I have set the collation for those Chinese fields already and those queries or Stored Procs for Chinese are working fine, ONLY if I execute them in Enterprise Manager. Chinese characters can be displayed in the relevant tables.
However here comes the big problem and I got really frustrated. As we will provide user interface in ASP pages, we 'll let users to insert the information which will be sent to the DB. If there's Chinese characters in the query string, the Chinese characters added in the DB would be garbled.
e.g. EXECUTE proc_TestChinese 'XYZ', 'test123' (assume XYZ be those Chinese words)
I am wondering if there's any way I can solve this problem. Should I add special handling for these Chinese words? I have set the ASP pages in UTF-8 or Big5 encoding but it doesn't help. Hope you experts can show me the way out of the mess. Thanks in advance!
Manfred

Hi Jens,
For that particular field for storing Chinese characters, I have set it as nvarchar already with collation settting as Chinese_Taiwan_Stroke_BIN. Here below is the Stored Procedure for testing.
Thanks in advance!
Manfred
--- to insert the Chinese characters for Germany: 德國 (德國)
---use N'xxxx' for nvarchar
---EXECUTE proc_TestChinese N'德國', 'Germany'
CREATE Procedure dbo.proc_TestChinese
@chineseCharacters nvarchar(20),
@Description varchar(50)
AS
BEGIN
 INSERT INTO dbo.tblTestChinese
 VALUES(@chineseCharacters, @Description)
END
GO
After the SP is executed, the table would shown as ¼w°ê for those Chinese characters.
If I have a html file, see http://www.neocollage.com/de.htm . If you change the encoding to Western European then you 'll see the garbled text as in the DB.

Similar Messages

  • Fax output - Chinese characters are garbled

    Hello,
    We are using fax output for two forms ( One smartform and the othe sap script). Both the form outputs are thorugh  the same fax device. For the smartform output there are no issues and the output is as expected but for the sap script output the chinese characters are garbled. Instead of the chinese characters i get output like _____ _______>,<%,,<< etc.
    Interestingly, if i have a look at the print preview or take print out there is no issue and the characters are as expected. The issue arises only during fax.
    Can someone help pls?
    Thanks,
    Venkat

    HI friend,
    I found few same post in SDN which are related to this Chinese characters in SAP Scripts.
    Please see this link and find is the problem is same as yours if so make use of it.
    Link: [Output of Sapscript in Chinese language|Output of Sapscript in Chinese language;
    Link: [Problem displaying Chinese Characters|Problem displaying Chinese Characters in SAP script form WESCHEINVERS1;
    I think these will be helpful please revert back to me after going through the links.
    Thanks,
    Sri Hari

  • Java PrintService printing Chinese/Japanese characters output is garbled.

    Hi Java Gurus,
    I have been spending the whole day trying to make our text printing application able to print non-western Characters (e.g. Chinese and Japanese) as part of our requirements. But I am constantly getting garbled output when I print a UTF-8 formatted text file containing Chinese characters. I've been trying to switch the DocFlavor types (e.g. byte array in UTF 8, input stream auto sense, UT8-8, etc) but I couldn't simply make it work.
    Here is our test method:
         public void testPrintText(String fileName) throws Exception {
              FileInputStream textStream = new FileInputStream(fileName);
              File file = new File(fileName);
              String fileContent = FileUtils.readFileToString(file);
              DocFlavor flavor = DocFlavor.BYTE_ARRAY.TEXT_PLAIN_UTF_8;
              //DocFlavor flavor = DocFlavor.READER.TEXT_PLAIN;
              InputStreamReader isr = new InputStreamReader(textStream, "utf-8");
              DocAttributeSet das = new HashDocAttributeSet();
              //System.out.println("host encoding: " + flavor.hostEncoding);
              Doc mydoc = new SimpleDoc(fileContent.getBytes("utf-8"), flavor, das);
              //Doc mydoc = new SimpleDoc(textStream, flavor, das);
              PrintRequestAttributeSet pas = new HashPrintRequestAttributeSet();
              pas.add(new PrinterName("\\\\fsinec\\Canon iR5055 PCL6", null));
              PrintService[] services = PrintServiceLookup.lookupPrintServices(flavor, pas);
              PrintService defaultService = PrintServiceLookup.lookupDefaultPrintService();
              System.out.println("DEBUG: " + defaultService.getClass().getName());
              if(services.length == 0) {       
                   if(defaultService == null) {
                        //no printer found
                   } else {            
                        //print using default
                        DocPrintJob job = defaultService.createPrintJob();
                        job.print(mydoc, pas);
              } else {        
                   //built in UI for printing you may not use this
                   PrintRequestAttributeSet attSet = new HashPrintRequestAttributeSet();
                   for(int ctr=0; ctr<services.length; ctr++) {
                        PrintService printService = services[ctr];
                        System.out.println("COTS DEBUG: " + defaultService.getClass().getName());
                   //attSet.add();
                   PrintService service = null;
                   if(services.length == 1) {
                        //assume that there is no other printer with the name \\\\fsinec\\Canon iR5055 PCL6
                        //resulting to fetch the printer services to only one (1) element.
                        service = services[0];
                   /* open a dialog box
                   * PrintService service =
                        ServiceUI.printDialog(null, 200, 200, services, defaultService, flavor, attSet);*/
                   if (service != null) {           
                        DocPrintJob job = service.createPrintJob();
                        job.print(mydoc, attSet);
    Please help me on this.
    Thanks.

    This could be of different reeasons...
    1) Make sure your printer is uni-code enabled.
    2) Make sure, your unicode enabled printer is configured in SAP.
    3) make sure, your printer device is supported by SAP. (You can find list of SAP recommended printers in www.service.sap.com)
    4) Check whether the correct device type is used for printing chinese and japanese characters.
    5) Check code pages.
    6) Make sure you use Cyrillic font family, for printing chinese and Japanese characters.
    Regards,
    SaiRam

  • How can i display chinese character in asp?

    ---windows2003
    ---iis6.0
    ---oracle92010
    ---oo4o
    oracle character set is we8mswin1252
    sqlplus display chinese character normally.
    when i export the oracle table into microsoft excel,the excel can display chinese character normally.
    but when i write code in asp.The IE can not display the chinese character?
    who would tell my why?
    Message was edited by:
    user525971

    Hi,
    here's a link to the SQL Developer forum: SQL Developer
    Frank

  • Garbled text when reply chinese content email

    My BB is Z10, Email protocol is Exchang ActiveSync.
    Garbled text when reply chinese content email, But preview is normal, Just reply when will appear garbled.
    English content email no this problem.
    Could you please help to resolve?

    HI gov000,
    Sorry to hear you're having an issue with your email, but, for us to better be able to help you can you please provide more information?
    What type of email account are you using?
    Where does this garbled reply appear - on your device? Recipients device? On a computer?
    When you are typing your email, you are able to see it in Chinese?
    Thanks!
    -HMthePirate
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Mail.app shows garbled Chinese character

    Mail.app received a mail, which displayed fine in inbox listing. But showed only garbled characters after opening the mail. The mail itself shows no problem in gmail web interface.
    Here is the original message:
    ===== Begining of quote:
    Delivered-To: <mymail>@gmail.com
    Received: by 10.14.121.17 with SMTP id q17cs258223eeh;
    Mon, 27 Dec 2010 15:24:46 -0800 (PST)
    Received: by 10.42.171.134 with SMTP id j6mr12996802icz.140.1293492284854;
    Mon, 27 Dec 2010 15:24:44 -0800 (PST)
    Return-Path: <[email protected]>
    Received: from emf2.towngas.com (emf2.towngas.com [203.78.95.191])
    by mx.google.com with ESMTP id v20si30122130ibi.31.2010.12.27.15.24.43;
    Mon, 27 Dec 2010 15:24:44 -0800 (PST)
    Received-SPF: pass (google.com: best guess record for domain of [email protected] designates 203.78.95.191 as permitted sender) client-ip=203.78.95.191;
    Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of [email protected] designates 203.78.95.191 as permitted sender) [email protected]
    Received: from [10.1.161.89] by emf2.towngas.com with ESMTP (Tumbleweed
    Email Firewall SMTP Relay (Email Firewall v6.3.2)); Tue, 28 Dec 2010
    07:24:17 +0800
    X-Server-Uuid: 67908B56-34C6-4D19-930A-44AECF69E6D9
    Received: from tgjobsvr ([10.1.62.190]) by comowa2.hkcg.corp.towngas.com
    with Microsoft SMTPSVC(6.0.3790.3959); Tue, 28 Dec 2010 07:25:22 +0800
    Thread-Topic: Self Meter Read Email Reminder Service (xxxxxxxxxx)
    thread-index: AcumANJm3nux3+lCTgS8Lf1KWRWkEw==
    From: "Towngas Webmaster" <[email protected]>
    To: <mymail>@gmail.com
    Subject: Self Meter Read Email Reminder Service (xxxxxxxxxx)
    Date: Tue, 28 Dec 2010 07:25:22 +0800
    Message-ID: <[email protected]>
    MIME-Version: 1.0
    X-Mailer: Microsoft CDO for Exchange 2000
    Content-Class: urn:content-classes:message
    Importance: normal
    Priority: normal
    X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3959
    Return-path: [email protected]
    X-OriginalArrivalTime: 27 Dec 2010 23:25:22.0110 (UTC)
    FILETIME=[5508E5E0:01CBA61D]
    X-WSS-ID: 6107FFAB470123551-04-01
    Content-Type: text/html;
    charset=big5
    Content-Transfer-Encoding: 8bit
    <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN'>
    <HTML>
    <HEAD>
    <META http-equiv='Content-Type' content='text/html; charset=big5'>
    <style><!-- --></style>
    </HEAD>
    <BODY>
    <table>
    <tr><td>
    <table border='0'>
    <tr><td width='500'> </td></tr>
    <tr><td width='500'>煤氣賬戶號碼: xxxx-xxxx-xx</td></tr>
    <tr><td width='500'> </td></tr>
    <tr><td width='500'>親愛的客戶:</td></tr>
    <tr><td width='500'> </td></tr>
    <tr><td width='500'>為方便您報讀煤氣錶度數,我們推出「報錶電郵提示服務」
    ,透過電郵提示您在網上報錶。</td></tr>
    <tr><td width='500'> </td></tr>
    <tr><td width='500'>請按此處即可報讀煤氣錶度數。您所報讀的度數,將會用作計算本期
    的煤氣費。但於2010年12月28日後報讀的度數,會作為評估下月煤氣費的參考。</td></tr>
    <tr><td width='500'> </td></tr>
    <tr><td width='500'>如您在過去一週內已報讀煤氣錶度數, 可毋須理會此提示。 謝謝。</td></tr>
    <tr><td width='500'> </td></tr>
    <tr><td width='500'>此致</td></tr>
    <tr><td width='500'> </td></tr>
    <tr><td width='500'>香港中華煤氣有限公司</td></tr>
    <tr><td width='500'></td></tr>
    </table>
    </td></tr>
    <tr><td height='2'>
    <table border='0' width='516' height='480'>
    <tr><td width='500'> </td></tr>
    <tr><td width='500'>Towngas account No. : xxxx-xxxx-xx</td></tr>
    <tr><td width='500'> </td></tr>
    <tr><td width='500'>Dear valued customer</td></tr>
    <tr><td width='500'> </td></tr>
    <tr><td width='500'>We have launched a "Self-reading E-mail Reminder Service" to bring you added convenience in reporting meter reading.</td></tr>
    <tr><td width='500'> </td></tr>
    <tr>
    <td width='500'>Please click here and report your meter reading online now. The meter
    reading reported will be used for calculating your upcoming gas charges. However, the meter reading reported after 28-December-2010 will be used as a reference for estimating gas consumption next month.</td>
    </tr>
    <tr><td width='500'> </td></tr>
    <tr><td width='500'>If you have reported the meter reading in the past week, you may ignore this reminder. Thank you.</td></tr>
    <tr><td width='500'> </td></tr>
    <tr><td width='500'>Yours faithfully</td></tr>
    <tr><td width='500'> </td></tr>
    <tr><td width='500' height='18'>The Hong Kong and China Gas Company Limited</td></tr>
    <tr><td width='500' height='88'></td></tr>
    <tr><td width='500'>
    <table width=100%>
    <tr><td>
    </td></tr>
    </table>
    </td></tr>
    <tr><td width='500'>
    請按此處 取消「報錶電郵提示服務」
    Click here to unsubscribe from the Self-reading E-mail Reminder Service.
    </td></tr>
    </table>
    </td></tr>
    </table>
    <pre wrap><html>
    <head>
    </head>
    <body>
    <pre>
    Hong Kong and China Gas Company Limited
    Greening up your life
    </pre>
    </body>
    </html>
    </pre></BODY>
    </HTML>
    ===== End of quote
    P.S. My iPhone 4 is running iOS4 without any modification. It gets gmail using Google Sync (ActiveSync protocol).
    Message was edited by: jonesuki

    There is nothing you can do to fix such problems on an iphone other than to try switching the language of your OS. Best report the problem to Apple via
    http://www.apple.com/feedback/iphone.html

  • IPad Emails received in Outlook with Garbled Simplified Chinese Characters

    My iPad users sent emails to Outlook(2003,2007) users but Simplified Chinese characters are all not readable!
    The same email sent from Motorola smartphone has no such issue.
    I report the case to Apple support on Nov. 3 and heard nothing until now.

    Alardon wrote:
    Hi all, sorry for opening an old thread.. I also experience the same issues. Does anyone know whether this problem have been resolved?
    If you are having the same issue, the answer is "no".  You could try to switch the OS language to Chinese and see if that makes a difference.  The iPad has no way to select the encoding of outgoing messages, any adjustment necessary has to be made at the other end. 

  • ITunes automatically garbled all Chinese characters in mp3 tags

    I tried to reinstall my audio collection on my iPod. When I uploaded my collection of Chinese CDs from mp3 files, iTunes automatically turned all ID3 tags into garbage. (So, not only were the tags turned into gibberish in iTunes, the information in the mp3 files themselves was all destroyed.)
    I tried to use Right Click > 'Convert ID3 Tags', but got the error "Could not convert ID3 tags for all the selected songs. The songs may be write-protected or of the wrong type." The songs are normal mp3 files and have all protected removed.
    What can I still do?

    Correct! I use the "globe" key to switch among keyboard when I need it and English or Italian to make accented characters.
    All characters appears displayed correctly before the email is sent.
    I did some further checks and discovered that actually arise sometimes when some email Outlook 2003 client is involved in the replies back and forth. Under certain circumstances the font is changed to Sinsum and the accented chars are displayed as...
    à   è   é   ì   ò  ù
    脿 猫 茅 矛 貌 霉
    Any clue?
    Tks.

  • Printing chinese w/ Java Print Service API become garbled characters

    I'm using XP platform and I've a plain text file on my drive.
    Now, what I want to do is, to read the text file in, then print it, that's all.
    However, the printout become messy, just some garbled characters.
    I did try to change quite a different ways to read the file, but the printout is still messy.
    Is there anything wrong? Can somebody give me a help?
    package com.ysf.document.client.ups;
    import java.io.FileReader;
    import java.io.IOException;
    import javax.print.*;
    import javax.print.attribute.*;
    public class Class1
       public static void main(String[] args)
          String filename = "c:\\temp\\abcd.txt";
          DocFlavor flavor = DocFlavor.BYTE_ARRAY.AUTOSENSE;
          PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet();
          // locate a print service that can handle it
          PrintService[] pservices = PrintServiceLookup.lookupPrintServices(flavor, aset);
          // create a print job for the chosen service
          int printnbr = 1;
          DocPrintJob pj = pservices[printnbr].createPrintJob();
          try
             int c;
             FileReader f = new FileReader(filename);
             StringBuffer buffer = new StringBuffer();
             c = f.read();
             while (c != -1)
                buffer.append((char) c);
                c = f.read();
             Doc doc = new SimpleDoc(buffer.toString().getBytes("BIG5"), flavor, null);
             pj.print(doc, aset);
          } catch (IOException ie)
             System.err.println(ie);
          } catch (PrintException e)
             System.err.println(e);
    }

    For #1, indeed, it's my overlook, I've corrected it already.
    For #2, it shows, java.lang.ArrayIndexOutOfBoundsException: 1.
    It's mainly because my printer do not support this flavor.
    My printer supports only:
    image/gif
    [B OR java.io.InputStream OR java.net.URL
    image/jpeg
    [B OR java.io.InputStream java.net.URL
    image/png
    [B OR java.io.InputStream OR java.net.URL
    application/x-java-jvm-local-objectref
    java.awt.print.Pageable OR java.awt.print.Printable
    application/octet-stream
    [B OR java.net.URL OR java.io.InputStream
    Up to now, still no solution to it. Anybody help.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Recipients get a garbled "chinese" message from Mail - How to change that?

    I am sending this:
    Bonjour Jocelyne, il semble que le premier message que j'ai envoyé contenait des caractères asiatiques - J'espère que ce message est plus lisible.
    She receives that:
    Bonjour Jocelyne, il semble que le premier message que j'ai envoy頣ontenait des caract貥s asiatiques - J'esp貥 que ce message est plus lisible.
    As you can see this happens with the French accents. But it also happens when I write in English. Periods (.) will show up on the other end as question marks (?)
    This is a problem that I really would like to fix.
    Thanks for your help.
    G5   Mac OS X (10.4.7)  

    Thanks Tom for your response.
    This appears to be a rather serious problem. Wouldn't Apple want to create a patch or something to "accomodate" Outlook users? Isn't that problem an invitation to use Thunderbird?
    Also, I am not a very technical person. It makes me nervous to open Terminal and try the encoding option. Could you guide me in doing this...
    When I open it a window pops up and says:
    Last login: Thu Aug 3 10:17:14 on ttyp1
    Welcome to Darwin!
    You have new mail.
    [modemcable027:~] gillesar%
    Ok so far. Then I type: defaults write com.apple.mail NSPreferredMailCharset "UTF-8"
    Then what ? Do I save it? If so, I save it as what? A window opens asking me if I want to save the main window or all windows??? There are boxes to check: Open this file when Terminal starts up and execute the default shell or login command - or another option is to execute this command (specify complete path) with the additional option to execute command in a shell (???)
    All of this means nothing to me unfortunately. Hey! I am just a regular guy and I simply want to be able to send e-maills in a way that my clients will be able to read what I am saying.
    Can you help?
    Thanks
    G5   Mac OS X (10.4.7)  

  • Error while inserting the Unicode (Russian/Chinese) Data in Oracle Database

    Hi all,
         I am using Oracle 9i and have created database with AL32UTF8 character set. I am using OraOLEDDB 9.0.1.0.1 to connect oracle from ATL COM. I have set the NLS_LANG= AMERICAN_AMERICA.AL32UTF8 registry.
         I have created a table ItemMaster with two column ItemName Varchar2(20) and ItemDescription CLOB.
         Values are accepted in ASP page and passed to COM function. In COM function inserting in ItemMaster table using ADO record set.
         It works fine when I insert English Charaters.
         COM is getting crash when insert Russian or Chinese Characters. Error message is given below. Looks like there is problem in OraOLEDB but not sure.
         Guide me if I am doing something wrong.
    Exception: E06D7363
    Address: 0x7C81EB33
    Call Stack:
    kernel32!RaiseException + 0x52
    UTFTran! + 0x4B2D
    UTFTran! + 0x3D39
    UTFTran! + 0x3D11
    UTFTran! + 0x1870
    OLEAUT32!DispCallFunc + 0xC3
    OLEAUT32!DispCallFunc + 0x6D3
    UTFTran! + 0x1C28
    OLEAUT32! + 0x7BF39
    OLEAUT32! + 0x7B1BD
    RPCRT4!NdrProxyFreeBuffer + 0xB5
    RPCRT4!CStdStubBuffer_Invoke + 0x82
    OLEAUT32!VarMonthName + 0xCF89
    ole32!StgGetIFillLockBytesOnFile + 0x10489
    ole32!StgGetIFillLockBytesOnFile + 0x10433
    ole32!CoReleaseMarshalData + 0x7DC
    ole32!CoReleaseMarshalData + 0x701
    ole32!StgGetIFillLockBytesOnFile + 0x10369
    ole32!StgGetIFillLockBytesOnFile + 0x10214
    ole32!StgGetIFillLockBytesOnFile + 0xFF6D
    RPCRT4!NdrGetTypeFlags + 0x1C9
    RPCRT4!NdrGetTypeFlags + 0x12E
    RPCRT4!NdrGetTypeFlags + 0x5A
    RPCRT4!CreateStubFromTypeInfo + 0x2E2
    RPCRT4!CreateStubFromTypeInfo + 0x323
    RPCRT4!NdrConformantArrayFree + 0x28B
    RPCRT4!I_RpcBCacheFree + 0x14C
    RPCRT4!I_RpcBCacheFree + 0x5EA
    RPCRT4!I_RpcBCacheFree + 0x403
    RPCRT4!I_RpcBCacheFree + 0x5D2
    kernel32!GetModuleFileNameA + 0x1B4
    Regards,
    Mani

    Crossposted: http://forum.java.sun.com/thread.jspa?threadID=5293664&tstart=0

  • How to catch multi language's data in MSSQL and data isn't garbled

    Hi everyone, I'm Taiwanese PHP developer, sorry for my poor English.
    I have 3 language's data:Simplified Chinese,Traditional Chinese, and English in our mssql2012 database.
    If I want to use ADODB to catch data,The Simplified Chinese and Traditional Chinese will be garbled.
    I try to use mb_convert_encoding($data,
    'UTF-8','BIG-5'),
    the Traditional Chinese is ok, but Simplified Chinese is still garbled.
    Do anyone have suggestion?
    This is my output:
    Array
    [0] => Array
    [0] => ZHS2
    [1] => ?体中文
    [2] => 123
    [1] => Array
    [0] => ZHS3
    [1] => 翻?
    [2] => 123
    [2] => Array
    [0] => ZHS
    [1] => ?体中文
    [2] => Chinese Simplified
    [3] => Array
    [0] => ZHT
    [1] => 繁體中文
    [2] => Chinese Traditional
    [4] => Array
    [0] => US
    [1] => English
    [2] => English US
    Here is my code:
    <?php
    include('adodb5/adodb.inc.php');
    function encoding_data($results){
    foreach($results as $key1 => $result){
    foreach ($result as $key2 => $arr_str){
    if(is_integer($key2)){
    //unset($results[$key1][$key2]);
    //echo $key2."=>".$arr_str."<p />";
    }else{
    //echo $key2."=>".$arr_str."<p />";
    $results[$key1][$key2] = mb_convert_encoding($arr_str, 'UTF-8','BIG-5');
    $results[$key1][$key2] = mb_convert_encoding($arr_str, 'UTF-8', 'BIG-5');
    return $results;
    $sql = $_REQUEST['sql'];
    $usedb = $_REQUEST['usedb'];
    if($sql==""){
    $sql = "select * from HCP";
    if($usedb == ""){
    $usedb ="oci8";
    if($usedb == "mssql"){
    $hostname = "Driver={SQL Server};Server=XXXX,XXXX;Database=XXXX;CharacterSet=UTF-8;UID=XXXX;PWD=XXXX";
    //$port = XXXX;
    $dbname = "XXXX";
    $username = "XXXX";
    $pw = "XXXX";
    $mssqlconn = &ADONewConnection ('odbc_mssql');
    //define connection string, specify database driver
    $mssqlconn->Connect($hostname, $username, $pw , $dbname);
    $mssqlconn->debug = false;
    $results = $mssqlconn->GetArray($sql);
    $results = encoding_data($results);
    echo "<pre>",print_r($results),"</pre>";
    print_r($usedb);
    ?>

    Hi Yun Chen,
    Not knowledgable on PHP programing, but as far as I know The BIG-5 is specific for traditional Chinese, so that's why you got garbled character for simplified Chinese.
    As the Chinese character encoding wiki says, there're newer standards such as
    GB18030 and
    Unicode which have separate code points for both simplified and traditional characters. I believe this may be a good starting for you to make the conversion work.
    Regarding your description, this is not some specific question on SQL Server. I would suggest you post your question on a dedicated PHP forum. It is more appropriate and more experts will help you.
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • Fail to toggle between Chinese & English as per logged in language in WAD

    Hi WAD Gurus,
    WAD does not allow us to modify descriptions accordingly to the logged
    in 'language'.
    Login in EN.
    Create & Save WAD template.
    Log in ZH (simplified Chinese)
    Modify descriptions to Chinese.
    Problem #1 When template is executed in EN - The output descriptions
    replaced the English text- it becomes the garbled characters, which is
    not what we expect.
    We expected to see English descriptions when user logged in EN. And we
    expect to see Chinese descriptions when user is logged in ZH.
    Problem #2 We tried a work around, where we put <English text desc -
    chinese description> .
    To do this, we had to be logged in ZH. However, after saving the
    template, we could not modify the template again when logged in as EN,
    it gives us the error (screenprint) and then it will not save giving a
    run-time error ‘5’
    Please suggest solutions for the problems above.
    SAPGUI 640 FEP 25
    BW350 FEP 12.343
    Regards
    Mahendra

    Any suggestion

  • Cannot Store Chinese Characters In Oracle 9.2.0.7 Database

    Hi,
    I'm having trouble localizing my Oracle 9.2.0.7 / ASP web application for our Chinese-speaking users.
    My Oracle 9.2.0.7 Database has NLS_NCHAR_CHARACTERSET set to AL16UTF16.
    I've set up a test table thus:
    CREATE TABLE "TBL_TEST_CH"
    field1                          NVARCHAR2(40),
    field2                          NVARCHAR2(40)
    I have the Chinese character set installed on my database / web server (same box), as well as a test client machine. I can see Chinese characters in my web browser, and can enter them in a test ASP page I've set up. When I execute an insert statement via ADO, the insert statement seems to work, but the result is that the data seems to be stored as upside-down question marks.
    I thought perhaps the data was being somehow scrambled between the web app and the database, so I set up an external table import the Chinese data from a Unicode text file:
    CREATE TABLE kenny.ch_import
         FIELD1          NVARCHAR2(255),
         FIELD2          NVARCHAR2(255)
         ORGANIZATION EXTERNAL (TYPE oracle_loader
         DEFAULT DIRECTORY ext_dat_dir
         ACCESS PARAMETERS
         (RECORDS DELIMITED BY ":"
         FIELDS TERMINATED BY "~"
         missing field values are null)
         LOCATION (ext_dat_dir:'test_ch.txt'))
         reject limit unlimited
    However, when I query the data in the external table using my web application, it comes back with garbage like "ÿþ1" and the like.
    To attempt to determine if the database is capable of storing the Chinese characters, I've performed the following test:
    1) I insert a Chinese character in an NVARCHAR2 field in my table by using the UNISTR function thus:
    insert into tbl_test_ch (field1) values (unistr('\3E00'))
    2) I interrogated the value using the dump function thus:
    select dump(field1, 1016) FROM tbl_test_ch
    I'm struggling to understand the output. Obviously the character set being used is "AL16UTF16" (which I would expect to be able to store Chinese characters), but the return_format argument I've provided to the function (1016) should return the hexadecimal code point of the character that's being stored. I would expect this to be the same as I inserted ("3E00"), but I'm getting the following output:
    DUMP(FIELD1,1016)
    Typ=1 Len=2 CharacterSet=AL16UTF16: 3e,0
    I'd really appreciate any suggestions on what I could do next to determine exactly where the problem lies. I've not been able to convince myself that the database is correctly storing the Chinese character data, but I appreciate equally that the problem could lie elsewhere.
    Thanks in advance,
    Kenny McEwan.

    Thanks, Serguisz.
    My technology stack is as follows:
    ASP 3.0 web application, running on IIS6.
    On the web servier, I have MDAC 2.8 SP2 on Windows Server 2003 SP1.
    On the Oracle database server, I have Windows Server 2003 SP1.
    My Oracle database version is 9.2.0.7.
    The client I've been using in this investigation is Internet Explorer 6.0.2900.
    It does look like you're right about characters coming from the application are being corrupted. To support this, I tried to insert the chinese character 博 as well as the Unihan character 中 from a web page in my application. I then used the dump function to interrogate the contents of the field I input to thus:
    select dump(field1, 1016) FROM tbl_test_ch
    DUMP(FIELD1,1016)
    Typ=1 Len=2 CharacterSet=AL16UTF16: 0,bf
    Typ=1 Len=2 CharacterSet=AL16UTF16: 0,bf
    Both characters seem to have suffered the same corruption.
    The problem seems to happen in the other direction as well - even after verifying that the character detailed in the previous post was stored correctly, it is still displayed by my web app as an upside down question mark.
    Do you have any suggestions on how to proceed?
    Best regards,
    Kenny.

  • Chinese characters in url

    I´ve been asked to make a chinese version of a website
    but although I can create the pages using chinese characters I
    can´t make the urls or folders in chinese.
    eg 住宿.asp
    What should I be doing ?

    "drew lawson" <[email protected]> wrote in
    message
    news:go3g6a$p7h$[email protected]..
    > I?ve been asked to make a chinese version of a website
    but although
    > I can create the pages using chinese characters I can?t
    make the
    > urls or folders in chinese.
    Most websites created in Asian languages use the Roman
    alphabet (ABC)
    for file and folder names. However, modern browsers are now
    capable of
    handling URLs in Chinese characters and other scripts. As
    long as your
    computer supports Chinese, so does Dreamweaver (unless you're
    using an
    old version). If I recall correctly, all versions since
    Dreamweaver 8
    support Asian and other scripts.
    David Powers
    Adobe Community Expert, Dreamweaver
    http://foundationphp.com

Maybe you are looking for

  • Some actions don't work in photoshop cc 2015

    I researched this subject but without success. I can't understand why the program (photoshop CC 2015) takes some actions as margin placement, but don't assume simple things such as color balance, contrast or levels. Someone can explain me this? I'm a

  • How to show the status in colours on web dynpro.

    Hi frnds,               It is possible to display the status using like a signal lights.                 Ex: process in green , completed in yellow ,pending in  red ..                 based on the status(process,completed,pending) i want to display t

  • Poor quality when uploaded to youtube, etc.

    My iMovie videos look great on my monitor. However when I upload them to video sites like Youtube, Google videos, Viddler, etc, the resulting video quality is very poor. I've submitted them as .avi, mp4, quicktime. Doesn't make any difference; they a

  • Newbie Upoad PDF to blob then Delete File.pdf

    I want the user to upload A PDF and import it into A BLOB. That part is working. If the user uploads the WRONG PDF, I want them to be able to delete the FILEA.PDF. They can delete the FILEA.PDF, if they wait 4 or 5 minutes. Delete the FileA.PDF is th

  • HTTP url issue

    Hi all, I am new to using flex Im working on a application where the front end makes a post request to the servlet. I don't know how to set the URL in the httpservice call. In a web java project in which front end was a basic html page with a form to