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. Advertisements

  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. Advertisements

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:
    938
    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:
    2,191
    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:
    1,178
    dorayme
    May 27, 2006
  4. Alexey Moskvin
    Replies:
    4
    Views:
    394
    konstantin
    Oct 6, 2008
  5. nanothermite911fbibustards
    Replies:
    5
    Views:
    473
    nanothermite911fbibustards
    Jun 29, 2010
  6. nanothermite911fbibustards
    Replies:
    5
    Views:
    462
    nanothermite911fbibustards
    Jun 29, 2010
  7. James Lattanzio

    Russian, Unicode and ASP

    James Lattanzio, Apr 19, 2004, in forum: ASP General
    Replies:
    1
    Views:
    221
    Mark Schupp
    Apr 19, 2004
  8. News123
    Replies:
    7
    Views:
    323
    Ilya Zakharevich
    May 8, 2009
Loading...