PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Mark Conover <markc at celtech dot com>
Subject: Setting charset with ct_config()
Date: Sep 25 1997 6:08PM

Hello,

This week has been exciting since installing sybperl on my linux box.

Question:

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
available:
 csid id 
name                                                                  
 ---- ---
------------------------------                                        
    0   0
ascii_8                                                               
    0   4
roman8                                                                
    4  50 bin_roman8       


>From what I have managed to learn on the web, I need to invoke
ct_config,
to CS_GET on a property.  Not sure which one.  CS_??_CHARSET.


Thank you for any assistance.

-- 
Mark Conover
Software Engineer
Cellular Technical Services