freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Riccardo Penco <r.penco AT scasinet.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Problems executing a query
- Date: Fri, 17 Jun 2005 18:01:01 +0200
ZIGLIO, Frediano, VF-IT ha scritto:
The problem is the editor. From my machine
$ cat test.php
<?php
echo 'Città';
?>
$ hexdump -C < test.php
00000000 3c 3f 70 68 70 20 0a 0a 65 63 68 6f 20 27 43 69 |<?php ..echo 'Ci|
00000010 74 74 c3 a0 27 3b 0a 0a 3f 3e 0a 0a |tt..';..?>..|
0000001c
$
Note that 'à' is encoded as 0xc3 0xa0, not 0xe0.
freddy77
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
but in the php script the à is encoded as 0xe0.
from the hexdump:
45 52 20 42 59 20 43 69 74 74 e0 3c 62 72 20 2f |ER BY Citt.<br /|
I also noticed that if I comment out in /etc/freetds.com:
;client charset = UTF-8
than the script works correctly.
thanks
riki
-
[freetds] Problems executing a query,
Riccardo Penco, 06/17/2005
-
Re: [freetds] Problems executing a query,
James K. Lowden, 06/17/2005
- Re: [freetds] Problems executing a query, Riccardo Penco, 06/17/2005
- <Possible follow-up(s)>
- RE: [freetds] Problems executing a query, ZIGLIO, Frediano, VF-IT, 06/17/2005
-
RE: [freetds] Problems executing a query,
ZIGLIO, Frediano, VF-IT, 06/17/2005
- Re: [freetds] Problems executing a query, Riccardo Penco, 06/17/2005
-
RE: [freetds] Problems executing a query,
ZIGLIO, Frediano, VF-IT, 06/17/2005
-
Re: [freetds] Problems executing a query,
Riccardo Penco, 06/17/2005
- Re: [freetds] Problems executing a query, Frediano Ziglio, 06/17/2005
-
Re: [freetds] Problems executing a query,
James K. Lowden, 06/17/2005
- Re: [freetds] Problems executing a query, Riccardo Penco, 06/20/2005
-
Re: [freetds] Problems executing a query,
Riccardo Penco, 06/17/2005
-
Re: [freetds] Problems executing a query,
James K. Lowden, 06/17/2005
Archive powered by MHonArc 2.6.24.