LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how can i display utf8 format in text area (https://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-display-utf8-format-in-text-area-746594/)

mlibot 08-10-2009 08:52 PM

how can i display utf8 format in text area
 
Hi me again... i have a problem that i want answers come from your help... my problem is how to display utf8 format in text area...?

This is the situations:

I have a form that have a browse button, convert to ASCII button, cancel button and text area... all i have to do is...? when i click the browse button and choose a folder that have a utf8.txt the file that have utf8 will appear or display into the text area... what i can i do to make this..?

im using php.. hope that you will help me...

thanks for the reply..

jdkaye 08-10-2009 10:33 PM

Quote:

Originally Posted by mlibot (Post 3638607)
Hi me again... i have a problem that i want answers come from your help... my problem is how to display utf8 format in text area...?

This is the situations:

I have a form that have a browse button, convert to ASCII button, cancel button and text area... all i have to do is...? when i click the browse button and choose a folder that have a utf8.txt the file that have utf8 will appear or display into the text area... what i can i do to make this..?

im using php.. hope that you will help me...

thanks for the reply..

Google is your friend. I googled php utf8 and found this:
http://us2.php.net/manual/en/function.utf8-encode.php
cheers,
jdk

mlibot 08-11-2009 07:36 PM

Thanks for the info. but i didn't understand yet... the link that they gave of "jdkaye" is how to convert file into utf8. but my problem is how to output the utf8 format on the text area... because my tool that i make is not for converting utf8 file. but converting utf8 file to ASCII format.

Thanks for rply.

jdkaye 08-11-2009 11:26 PM

Quote:

Originally Posted by mlibot (Post 3639867)
Thanks for the info. but i didn't understand yet... the link that they gave of "jdkaye" is how to convert file into utf8. but my problem is how to output the utf8 format on the text area... because my tool that i make is not for converting utf8 file. but converting utf8 file to ASCII format.

Thanks for rply.

I tried to explain to you that google is your friend. You apparently are unwilling to learn and want others to do your work for you. I think this is want you're looking for but given your attitude I will not answer any more requests from you without some willingness to work on your part.
<<removed because this is homework>>
Anyone willing to spend 5 seconds searching could have found this.
I reviewed your other posts and found you said this:
Quote:

Since my assignment is how to convert utf 8 to ascii format.
We are not here to do your homework for you.

goodbye,
jdk

jdkaye 08-11-2009 11:32 PM

Reported,
jdk

jschiwal 08-12-2009 02:50 AM

I'll give a hint. Look for a library with the same name as the Linux command that converts text.
There is an online manual for php on the web. Do your homework by reading through it and you will find the answer.
http://www.php.net/manual/en/index.php

pixellany 08-12-2009 08:33 AM

mlibot;

In your first thread, you were advised as to how to find the info you were looking for, but you kept asking the same question and **appeared** to be unwilling to do you own work. That resulted in the thread being closed.

We try to give the benefit of the doubt and we will help with homework when it is obvious that a person is putting out an effort.

In this case, please acknowledge that you have looked at ALL the links provided---including those in the previous threads---, tell us what you have found, and what you still don't understand.


All times are GMT -5. The time now is 01:11 PM.