On Wed, 2002-06-26 at 12:50, Anthony Brock wrote:
> I am attempting to run a simple insert statement using DBI and DBD::Sybase. 
> This same program worked nearly a year ago, but I am now experiencing the 
> following problem:
> 
> # ./genesis-load
> DBD::Sybase::db prepare failed: Server message number=2409 severity=11 
> state=2 line=1 text=Cannot find the requested character set in 
> Syscharsets:  name = 'utf8'.
> Server message number=2411 severity=10 state=1 line=1 text=No conversions 
> will be done.
> #

The problem is that the locale that the script is running in asks for
the utf8 character set, but that character set hasn't been installed on
the server (via sqlloc).

Check the value of your $LANG or $LC_ALL environment variable, and then
check in $SYBASE/locales/locales.dat to see what character set that
locale maps to.

For example, on my linux box, if I set LC_ALL to us_english.utf8 I can
produce the same error for a server where the utf8 character set hasn't
been installed.

Michael
-- 
Michael Peppler / [EMAIL PROTECTED] / http://www.mbay.net/~mpeppler
[EMAIL PROTECTED] / ZetaTools, Inc / http://www.zetatools.com
ZetaTools: Call perl functions as Sybase stored procedures!

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to