You are here: Re: UTF-8 file reading and writing for PHP « PHP Programming Language « IT news, forums, messages
Re: UTF-8 file reading and writing for PHP

Posted by R. Rajesh Jeba Anbiah on 12/09/69 11:49

HaggMan wrote:
> I'm creating a page that:
> - accepts user input in whatever language
> - saves that input to a file
> - reads the file and displays the original input
>
> The following code successfully writes the user input to a file (when I
> open the file, it's in the correct font), but I can't get PHP to read
> the file and display the correct characters.
<snip>

Save your (processing) PHP script in UTF-8.

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация