Unicode and escaping single quotes - Mailing list pgsql-sql

From Olaf Frączyk
Subject Unicode and escaping single quotes
Date
Msg-id 1023808795.1622.19.camel@venus
Whole thread Raw
Responses Re: Unicode and escaping single quotes  (Tatsuo Ishii <t-ishii@sra.co.jp>)
List pgsql-sql
Hi,
I want to put unicode text.
But in INSERT I have to escape ' (single quote character).
Should I escape every BYTE which has the value of ASCII single quote
character, or only real single quote characters (in unicode) - if I have
a multibyte unicode character, it may be composed (looking at the string
as an array of bytes) of a normal character and single quote character.

Please CC me.

Best Regards,

Olaf Fraczyk






pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: Efficient DELETE Strategies
Next
From: Hannu Krosing
Date:
Subject: Re: [HACKERS] Efficient DELETE Strategies