LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 08-10-2009, 08:52 PM   #1
mlibot
LQ Newbie
 
Registered: Jul 2009
Posts: 16

Rep: Reputation: 0
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..
 
Old 08-10-2009, 10:33 PM   #2
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,046

Rep: Reputation: Disabled
Quote:
Originally Posted by mlibot View Post
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
 
Old 08-11-2009, 07:36 PM   #3
mlibot
LQ Newbie
 
Registered: Jul 2009
Posts: 16

Original Poster
Rep: Reputation: 0
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.
 
Old 08-11-2009, 11:26 PM   #4
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,046

Rep: Reputation: Disabled
Quote:
Originally Posted by mlibot View Post
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

Last edited by jdkaye; 08-11-2009 at 11:29 PM.
 
Old 08-11-2009, 11:32 PM   #5
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,046

Rep: Reputation: Disabled
Reported,
jdk
 
Old 08-12-2009, 02:50 AM   #6
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
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
 
Old 08-12-2009, 08:33 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Select a text area in the terminal using the keyboard tirengarfio Linux - General 4 03-30-2009 06:16 AM
need a php script to format and display a select amount of text from a file steve51184 Linux - Software 27 01-27-2009 02:29 PM
utf8 cyrillic text in console emacs tramni1980 Slackware 7 08-25-2008 12:07 PM
java - Writing to a text area Risc91 Programming 6 05-29-2004 12:58 PM
Display area is too small! maerong Linux - Newbie 5 03-20-2004 11:39 AM


All times are GMT -5. The time now is 10:36 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration