Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    6

    Question Help:How to display Chinese Char in NMBS?

    I want to display Chinese Char acters in Nokia Browser Simulator.
    Tools: NMIT 4.1 , NMBS 4.0,
    Environment: Windows XP SP2 (Chinese Simple)

    Question:
    I had read <<How_to_Display_Chinese_Characters_v2_0_en.pdf>>,
    Just run the following code:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http:///www.wapforum.org/DTD/wml_1.1.xml">
    <wml>
    <card id="card1" title="Examples">
    <p>
    简体中文<br/>
    繁體中文<br/>
    </p>
    </card>
    </wml>

    it failed .No Chinese Char appear on the Browser simulator.
    What cause it?
    Does it hava relationship to MIME?
    Thank you ahead!
    Help me!

  2. #2
    Registered User
    Join Date
    May 2005
    Posts
    6

    Help:How to display Chinese Char in NMBS?

    I think that, this application has no relation to Web Server, so MIME configuration is not necessary.
    Maybe, the former WML sample code can run successfully with other WAP explorer in WEB Server.

    Hower ,I just want it to be displayed in Nokia Mobile Browser Simulator.

    Can anyone with related experences give me a response?

    Calm is ghastful!

  3. #3
    Super Contributor
    Join Date
    Apr 2003
    Location
    Tianjin, China
    Posts
    1,534
    你的页面本身要用UTF8编码,否则文字应该还是乱码

    Maxying

  4. #4
    Registered User
    Join Date
    Oct 2005
    Posts
    1

    Re: Help:How to display Chinese Char in NMBS?

    无论如何都显示不了中文的。我不知道解决办法。谁能给点儿答案。

  5. #5
    Regular Contributor
    Join Date
    Jun 2004
    Location
    Hong Kong
    Posts
    59

    Re: Help:How to display Chinese Char in NMBS?

    這個就是答案了!
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    其實簡單看看這頁的原始檔, 便可找到答案. 更多答案可以觀看英文區.

  6. #6
    Regular Contributor
    Join Date
    Jun 2004
    Location
    Hong Kong
    Posts
    59

    Re: Help:How to display Chinese Char in NMBS?

    刪除以下這句會好一點:
    <?xml version="1.0" encoding="UTF-8"?>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×