problem with russian coding and INPUT and JS

Discussion in 'HTML' started by Pawel, Jun 27, 2006.

  1. Pawel

    Pawel Guest

    http://www.alden.pl/lang_test.html

    There are 2 inputs. Into first one I insert value by JS, into second
    directly. The value is russian text in unicode. And in JS it's displayed
    like without analizing the contens of inserted value. How to make input
    think what and how to display?

    PK
    Pawel, Jun 27, 2006
    #1
    1. Advertising

  2. Pawel

    jojo Guest

    Pawel schrieb:
    > http://www.alden.pl/lang_test.html
    >
    > There are 2 inputs. Into first one I insert value by JS, into second
    > directly. The value is russian text in unicode. And in JS it's displayed
    > like without analizing the contens of inserted value. How to make input
    > think what and how to display?
    >
    > PK
    >
    >

    Try to write the characters in JavaScript with String.fromCharCode(CODE)
    or type them directly instead of typing their HTML-entities

    HTH, jojo
    jojo, Jun 27, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ross Noe via .NET 247

    Russian Characters and ASP.Net

    Ross Noe via .NET 247, Mar 9, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    785
    Kevin Spencer
    Mar 9, 2005
  2. Luigi Donatello Asero

    Doctype for Russian and Chinese

    Luigi Donatello Asero, Sep 24, 2005, in forum: HTML
    Replies:
    4
    Views:
    1,972
    Michael Winter
    Sep 24, 2005
  3. Luigi Donatello Asero

    Chinese and Russian versions of the website

    Luigi Donatello Asero, May 24, 2006, in forum: HTML
    Replies:
    20
    Views:
    918
    dorayme
    May 27, 2006
  4. Alexey Moskvin
    Replies:
    4
    Views:
    310
    konstantin
    Oct 6, 2008
  5. nanothermite911fbibustards
    Replies:
    5
    Views:
    303
    nanothermite911fbibustards
    Jun 29, 2010
Loading...

Share This Page