Unicode UTF-8 for html

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ganesh77
    New Member
    • Jan 2007
    • 7

    Unicode UTF-8 for html

    Hi,

    I am planning to start a site in the south Indian language kannada. The question I have is -

    In my "Feedback" or "Contact Me" form, if I want my users to write in Kannada which should be displayed to them in the preview form and also be transmitted in Kannada.

    How can I do that ? I am not a techie so would appreciate if someone can give me a Step by Step instructions (if possible the code itself) and help.

    Thanks a lot for your help, in advance.

    Ganesh
  • AricC
    Recognized Expert Top Contributor
    • Oct 2006
    • 1885

    #2
    For XHTML:
    Code:
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    For XML:
    Code:
    <?xml version="1.0" encoding="utf-8" ?>

    Comment

    • ganesh77
      New Member
      • Jan 2007
      • 7

      #3
      Thanks.

      But I really do not understand what your reply is. Are you saying that if I use the following meta tags, my users will be able to type in the language I wanted and actually be transmitted in the same language ?

      Please be a little more clear with your answer. Thanks a lot.

      Comment

      • ganesh77
        New Member
        • Jan 2007
        • 7

        #4
        I tried that.........an d it does not work.

        Comment

        • AricC
          Recognized Expert Top Contributor
          • Oct 2006
          • 1885

          #5
          Are you saying you want the input language of your keyboard to be something other than English?

          Comment

          • ganesh77
            New Member
            • Jan 2007
            • 7

            #6
            Not necessarily. I want the output to be the language other than English.

            People can use other softwares to create the content in the language that we want, cut and paste into pour form and when sent the output should be the same language they intended it to be.

            Not sure if I am explainging properly.

            Comment

            • AricC
              Recognized Expert Top Contributor
              • Oct 2006
              • 1885

              #7
              Originally posted by ganesh77
              Not sure if I am explainging properly.
              I'm not really following maybe an example would be better.

              Comment

              • drhowarddrfine
                Recognized Expert Expert
                • Sep 2006
                • 7434

                #8
                Unicode/utf-8 is not for translating languages in any way. It is for encoding the characters in the text to accomodate all the characters available in all languages, such as those containing diacratics (sp). The language you use is unaffected, only the character usage.

                Comment

                • ganesh77
                  New Member
                  • Jan 2007
                  • 7

                  #9
                  ಹೊಸ ವರುಷದ ಶುಭಾಶಯಗಳು

                  Now I have written the above in my language. and we are able to read it.

                  What I want is my users to do that same thing in my userform. If they use a language software and cut and paste the message, I am able to read it the in the same language they have created the text.

                  Am I clear now.


                  I am not looking for translation.

                  Comment

                  • drhowarddrfine
                    Recognized Expert Expert
                    • Sep 2006
                    • 7434

                    #10
                    By translate, I meant change your language into another language just by using utf-8 but I see you mean to copy/paste into another form.

                    I still do not have my new computer up and running yet to test this. In fact, I don't have my own computer at all right now. But if both are utf-8, I would think you could cut/paste them, one form into another.

                    Are you saying this doesn't work or is that your question?

                    Comment

                    • ganesh77
                      New Member
                      • Jan 2007
                      • 7

                      #11
                      Originally posted by drhowarddrfine
                      . But if both are utf-8, I would think you could cut/paste them, one form into another.

                      Are you saying this doesn't work or is that your question?
                      Now we are on the same page. You say if both are utf-8.....How do I make my page/form UTF-8, so that people could just cut and paste it into my form.

                      To give you an example, see this Greeting cards site where you can send messages in many languages.

                      Spiritual Treasures - Kriya Yoga download information: Complete FREE offline version from spiritual teachings of love and Kriya Yoga teachings from the Cyberspace Ashram for Kriya Yoga, God and love.


                      So if I use a similar form in my website for my users to send their messages in the language I want..........W hat would I do ?? this is my question.

                      How would I design the form and what would be my coding for using UTF - 8 characters ??

                      Thanks guys for all your help. I truly apprecaite it.
                      Last edited by ganesh77; Jan 13 '07, 02:53 PM. Reason: More additions made

                      Comment

                      • drhowarddrfine
                        Recognized Expert Expert
                        • Sep 2006
                        • 7434

                        #12
                        I will refer you to this W3C page and this one along with this article before I make any blundering comments since it may be more helpful since you are using different languages.

                        Comment

                        • ganesh77
                          New Member
                          • Jan 2007
                          • 7

                          #13
                          Thank you very much.

                          I will go through the site and the article and come back if I have more questions.

                          Take care

                          Comment

                          Working...