473,396 Members | 1,756 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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
Jan 8 '07 #1
12 1848
AricC
1,892 Expert 1GB
For XHTML:
Expand|Select|Wrap|Line Numbers
  1. <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
  2.  
For XML:
Expand|Select|Wrap|Line Numbers
  1. <?xml version="1.0" encoding="utf-8" ?>
Jan 9 '07 #2
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.
Jan 10 '07 #3
I tried that.........and it does not work.
Jan 10 '07 #4
AricC
1,892 Expert 1GB
Are you saying you want the input language of your keyboard to be something other than English?
Jan 10 '07 #5
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.
Jan 12 '07 #6
AricC
1,892 Expert 1GB
Not sure if I am explainging properly.
I'm not really following maybe an example would be better.
Jan 12 '07 #7
drhowarddrfine
7,435 Expert 4TB
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.
Jan 12 '07 #8
ಹೊಸ ವರುಷದ ಶುಭಾಶಯಗಳು

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.
Jan 12 '07 #9
drhowarddrfine
7,435 Expert 4TB
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?
Jan 13 '07 #10
. 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.

http://www.kriyayoga.com/pd/LoveCards3.html

So if I use a similar form in my website for my users to send their messages in the language I want..........What 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.
Jan 13 '07 #11
drhowarddrfine
7,435 Expert 4TB
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.
Jan 13 '07 #12
Thank you very much.

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

Take care
Jan 13 '07 #13

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Michael Weir | last post by:
I'm sure this is a very simple thing to do, once you know how to do it, but I am having no fun at all trying to write utf-8 strings to a unicode file. Does anyone have a couple of lines of code...
8
by: Francis Girard | last post by:
Hi, For the first time in my programmer life, I have to take care of character encoding. I have a question about the BOM marks. If I understand well, into the UTF-8 unicode binary...
3
by: Naresh Agarwal | last post by:
Hi XML uses UTF-8 by default. Is that correct? Also, can we use Unicode in XML? thanks, Naresh
15
by: John Salerno | last post by:
Forgive my newbieness, but I don't quite understand why Unicode is still something that needs special treatment in Python (and perhaps elsewhere). I'm reading Dive Into Python right now, and it...
6
by: archana | last post by:
Hi all, can someone tell me difference between unicode and utf 8 or utf 18 and which one is supporting more character set. whic i should use to support character ucs-2. I want to use ucs-2...
1
by: willie | last post by:
>willie wrote: wrote:
8
by: sonald | last post by:
Hi, I am using python2.4.1 I need to pass russian text into python and validate the same. Can u plz guide me on how to make my existing code support the russian text. Is there any module...
18
by: Chameleon | last post by:
I am trying to #define this: #ifdef UNICODE_STRINGS #define UC16 L typedef wstring String; #else #define UC16 typedef string String; #endif ....
17
by: Adam Olsen | last post by:
As was seen in another thread, there's a great deal of confusion with regard to surrogates. Most programmers assume Python's unicode type exposes only complete characters. Even CPython's own...
8
by: Yves Dorfsman | last post by:
Can you put UTF-8 characters in a dbhash in python 2.5 ? It fails when I try: #!/bin/env python # -*- coding: utf-8 -*- import dbhash db = dbhash.open('dbfile.db', 'w') db = u'☺'
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.