[DOCS] Invalid sequence for encoding UTF8 0xe86974

2012-02-28 Thread Holec, JPH Software
Hello, pg_read_file('pg_log... gives me this report and 0xe86974 doesn't know 
Google...
 
Can You help me?
 
PG 8.4.9 on Windows, database UTF8 and client also Windows... and except 
pg_read_file everything works fine...
 
Thank you Pavel


[DOCS] Invalid sequence for encoding UTF8 0xe86974

2012-02-28 Thread Holec, JPH Software
Hello, pg_read_file('pg_log... gives me this report and 0xe86974 doesn't know 
Google...
 
Can You help me?
 
PG 8.4.9 on Windows 1250, database UTF8 and client also Windows 1250... and 
except pg_read_file everything works fine...
 
Thank you Pavel


Re: [DOCS] Invalid sequence for encoding UTF8 0xe86974

2012-02-28 Thread Kevin Grittner
"Holec, JPH Software"  wrote:
 
> pg_read_file('pg_log... gives me this report and 0xe86974 doesn't
> know Google...
 
It would be an odd web page which listed all the values which are
not valid as character encodings in any particular encoding scheme.
 
> Can You help me?
 
Questions like this belong on the pgsql-general list; this one is
for discussions about documentation.
 
> PG 8.4.9 on Windows, database UTF8 and client also Windows... and
> except pg_read_file everything works fine...
 
You are trying to read a file as text, which is character based. 
You are using UTF8 and the file contains data which is not a valid
UTF8 code point.
 
-Kevin

-- 
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs


Re: [DOCS] Invalid sequence for encoding UTF8 0xe86974

2012-02-28 Thread Holec, JPH Software
Thank you, but this is a not help for me.
Why PG gives me not valid character and do you mean read *.log file as
binary? Do you know how to solve?
Pavel

-Original Message-
From: Kevin Grittner [mailto:[email protected]] 
Sent: Tuesday, February 28, 2012 6:32 PM
To: JPH Software Holec; [email protected]
Subject: Re: [DOCS] Invalid sequence for encoding UTF8 0xe86974

"Holec, JPH Software"  wrote:
 
> pg_read_file('pg_log... gives me this report and 0xe86974 doesn't know 
> Google...
 
It would be an odd web page which listed all the values which are not valid
as character encodings in any particular encoding scheme.
 
> Can You help me?
 
Questions like this belong on the pgsql-general list; this one is for
discussions about documentation.
 
> PG 8.4.9 on Windows, database UTF8 and client also Windows... and 
> except pg_read_file everything works fine...
 
You are trying to read a file as text, which is character based. 
You are using UTF8 and the file contains data which is not a valid
UTF8 code point.
 
-Kevin


-- 
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs