pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Olaf Frączyk <olaf@cbk.poznan.pl>
To: pgsql-sql@postgresql.org
Subject: Unicode and escaping single quotes
Date: 11 Jun 2002 17:19:55 +0200
Message-ID: <1023808795.1622.19.camel@venus> (raw)

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







view thread (3+ messages)  latest in thread

Message-ID: <1023808795.1622.19.camel@venus>
Permalink:  ../1023808795.1622.19.camel@venus/
Also on:    postgresql.org/message-id/1023808795.1622.19.camel@venus

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: olaf@cbk.poznan.pl
  Subject: Re: Unicode and escaping single quotes
  In-Reply-To: <1023808795.1622.19.camel@venus>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox