|
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.
Navigation:
[Reply to this message]
|