Reply to Re: PHP standalone: charset setting

Your name:

Reply:


Posted by Colin McKinnon on 09/24/06 15:40

yellowtek wrote:

> Hi,
>
> I'm simply using PHP as a programming language, and I just want to
> print some text information to stdout,
> but instruction
> print "é" (é)
> does not print my "e" with an accent in the shell window: wrong
> charset.
>
> How to set the correct charset?

This has always been one of PHP's weak spots, and something I've never had
to fix fortunately.

AFAIK, you need to find out what encoding and charset your console is using
- then use binary strings.

HTH

C.

[Back to original 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

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