-
ODBC Sonderzeichen
Hallo,
vielleicht hilft dies:
Problem: A Linux® application using the iSeries ODBC driver for Linux® received a SQL0104 token not valid error. The error occurred only when the SQL statement contained literals that used characters outside the invariant character set.
The isql utility shipped with versions of unixODBC prior to June 2003 does not call the setlocale() function and may run into this problem.
Resolution: The Linux® ODBC driver is using the locale set up by the application to convert the SQL statement. If the application does not set up the locale in its main(), the default compiler "C" locale is used. This implies a client code page of 367 is used for some client conversions. Code page 367 does not support many characters outside the invariant character set. The main application must ensure the locale is set up properly.
#include <locale.h>
int main( int argc, char* argv )
{
setlocale( LC_ALL, "" ) ;
}
Similar Threads
-
By Blaumeise in forum IBM i Hauptforum
Antworten: 2
Letzter Beitrag: 17-11-06, 12:19
-
By jjagi in forum IBM i Hauptforum
Antworten: 6
Letzter Beitrag: 07-07-06, 08:29
-
By Fondue in forum NEWSboard Server Software
Antworten: 0
Letzter Beitrag: 28-04-06, 19:40
-
By ralfmh in forum Archiv NEWSboard Events
Antworten: 1
Letzter Beitrag: 07-10-04, 11:17
-
By HerbertH in forum IBM i Hauptforum
Antworten: 4
Letzter Beitrag: 27-05-04, 13:10
Berechtigungen
- Neue Themen erstellen: Nein
- Themen beantworten: Nein
- You may not post attachments
- You may not edit your posts
-
Foren-Regeln
|
Erweiterte Foren Suche
Google Foren Suche
Forum & Artikel Update eMail
AS/400 / IBM i
Server Expert Gruppen
Unternehmens IT
|
Kategorien online Artikel
- Big Data, Analytics, BI, MIS
- Cloud, Social Media, Devices
- DMS, Archivierung, Druck
- ERP + Add-ons, Business Software
- Hochverfügbarkeit
- Human Resources, Personal
- IBM Announcements
- IT-Karikaturen
- Leitartikel
- Load`n`go
- Messen, Veranstaltungen
- NEWSolutions Dossiers
- Programmierung
- Security
- Software Development + Change Mgmt.
- Solutions & Provider
- Speicher – Storage
- Strategische Berichte
- Systemmanagement
- Tools, Hot-Tips
Auf dem Laufenden bleiben
|
Bookmarks