Up Prev Next
From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: Setting charset with ct_config()
Date: Sep 25 1997 10:59PM
Mark Conover wrote:
> This week has been exciting since installing sybperl on my linux box.
> I would like to change the character set before doing the ct_connect(),
> so that I avoid:
> "Message String: Cannot find the requested character set in
> Syscharsets: name = 'iso_1'"
> The server to which I am connecting has the following char sets
> csid id
> ---- ---
> 0 0
> 0 4
> 4 50 bin_roman8
> >From what I have managed to learn on the web, I need to invoke
> to CS_GET on a property. Not sure which one. CS_??_CHARSET.
> Thank you for any assistance.
After some spelunking it looks like we need a call to cs_locale()
to be able to set the character set, and cs_locale() is not
implemented in sybperl (yet).
Michael Peppler -||- Data Migrations Inc.
email@example.com -||- http://www.mbay.net/~mpeppler