Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

XML and Importstring

2 posts in DataWindow Last posting was on 2008-08-13 13:12:28.0Z
Martin Posted on 2008-08-13 05:59:34.0Z
From: "Martin" <m.kaltenboeck@utanet.at>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: XML and Importstring
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48a27846$1@forums-1-dub>
Date: 12 Aug 2008 22:59:34 -0700
X-Trace: forums-1-dub 1218607174 10.22.241.152 (12 Aug 2008 22:59:34 -0700)
X-Original-Trace: 12 Aug 2008 22:59:34 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87534
Article PK: 416790

using Pb 10.5.2 7699

Hello

I have to import xml-files that have the following startline:

<?xml version="1.0" encoding="iso-8859-15"?>

Now you can't specify this encoding - type in the datawindow xml-template
declaration.
When I use another encoding (windows-1252) I get (of course) this error at
importing:

An exception occurred! Type:TranscodingException, Message:Could not create a
converter for encoding: ISO-8859-15

How can I solve this?

Martin


Roland Smith [TeamSybase] Posted on 2008-08-13 13:12:28.0Z
From: "Roland Smith [TeamSybase]" <rsmith_at_trusthss_dot_com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <48a27846$1@forums-1-dub>
Subject: Re: XML and Importstring
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48a2ddbc$1@forums-1-dub>
Date: 13 Aug 2008 06:12:28 -0700
X-Trace: forums-1-dub 1218633148 10.22.241.152 (13 Aug 2008 06:12:28 -0700)
X-Original-Trace: 13 Aug 2008 06:12:28 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87536
Article PK: 416792

Try editing the datawindow in source mode.

"Martin" <m.kaltenboeck@utanet.at> wrote in message
news:48a27846$1@forums-1-dub...
> using Pb 10.5.2 7699
>
> Hello
>
> I have to import xml-files that have the following startline:
>
> <?xml version="1.0" encoding="iso-8859-15"?>
>
> Now you can't specify this encoding - type in the datawindow xml-template
> declaration.
> When I use another encoding (windows-1252) I get (of course) this error at
> importing:
>
> An exception occurred! Type:TranscodingException, Message:Could not create
> a converter for encoding: ISO-8859-15
>
> How can I solve this?
>
> Martin
>