Database encoding

Started by Daniel Lucazeaualmost 24 years ago2 messagesgeneral
Jump to latest
#1Daniel Lucazeau
infonews@ajornet.com

Hello,

how can I change the encoding of a database ?
I have read the FAQ ;-)

--
Cordialement,
Daniel mailto:infonews@ajornet.com

#2Jean-Michel POURE
jm.poure@freesurf.fr
In reply to: Daniel Lucazeau (#1)
Re: Database encoding

Le Vendredi 10 Mai 2002 15:53, Daniel Lucazeau a écrit :

how can I change the encoding of a database ?

Dear Daniel,

Server-side database encoding is set a creation time:
CREATE DATABASE foo with encoding 'encoding_name';

You can recode the data stream on the fly client-side with:
SET CLIENT_ENCODING = 'encoding_name';

Cheers,
Jean-Michel POURE