Re: unicode support for TEXT
Posted by: Jim Winstead
Date: September 17, 2004 12:57PM

There is no NTEXT type (yet, and I'm not aware of plans for one), but you can declare the character set of a TEXT type:

CREATE TABLE test ( data TEXT CHARACTER SET utf8 );

or just default all the columns to utf8:

CREATE TABLE test ( data TEXT ) DEFAULT CHARACTER SET utf8;

This requires MySQL 4.1 or later.

Jim Winstead
MySQL Inc.

Options: ReplyQuote


Subject
Views
Written By
Posted
6759
September 14, 2004 10:01AM
Re: unicode support for TEXT
3278
September 17, 2004 12:57PM
3706
October 07, 2004 03:40AM
3639
October 07, 2004 08:59AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.