Search code examples
internationalizationtranslation

Foreign Language for Text Inputs


I am making a site in Russian language. This is first time, I am working on site in foreign language. For administration sections, I have to make the html form so that we can enter text in Russian language in textfield and textareas. Can you please let me know how do I make this possible ?


Solution

  • Use Unicode:

    Content-Type: text/html; charset=utf-8
    

    Basically, nothing else needs to be done. (Except to do the same to the database, if you use one.)

    Even when not making a Russian site, you should really be using Unicode; people can have weird names, news stories might be talking about funny places, movies sometimes have wacky titles...