Icon View Thread

The following is the text of the current message along with any replies.
Messages 31 to 38 of 38 total
Thread ansi export => unicode import
Mon, Jun 7 2010 4:23 PMPermanent Link

Malcolm Taylor

Tim Young [Elevate Software] wrote:

> .. This feature is
> still "hidden" for release as part of 2.04, but here's the new
> syntax that you can use to "unhide" it:
>

Brilliant, it even imports without breaking my cludge (but cludge now
removed).  Tested with UTF-16 files with and without BOMs - it just
'works', all by istself.

I have not tried importing from UTF-8 files with BOMs but if that
works I guess the file *will* need a BOM.

The icing on the cake would be an option to export in any of the
supported encodings instead of just Ansi and UTF-16. Smiley

Malcolm

--
Mon, Jun 7 2010 5:07 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Malcolm,

<< Brilliant, it even imports without breaking my cludge (but cludge now
removed).  Tested with UTF-16 files with and without BOMs - it just 'works',
all by istself. >>

There is one bug that Frank found - if you specify the ENCODING UNICODE
clause under EDB Unicode versions, it doesn't skip the BOMs properly and
barfs on the import.  So, the key is to only use the ENCODING UNICODE when
there aren't any BOMs, at least until that is fixed.

<< I have not tried importing from UTF-8 files with BOMs but if that works I
guess the file *will* need a BOM. >>

It probably won't handle UTF-8 properly at all.

<< The icing on the cake would be an option to export in any of the
supported encodings instead of just Ansi and UTF-16. Smiley>>

Baby-steps, baby-steps.... Smiley We've had a request for XML for some time,
so that is next, and I'll look at other encodings also at that time.

--
Tim Young
Elevate Software
www.elevatesoft.com
Mon, Jun 7 2010 5:33 PMPermanent Link

Malcolm Taylor

Tim Young [Elevate Software] wrote:

>
> There is one bug that Frank found - if you specify the ENCODING
> UNICODE clause under EDB Unicode versions, it doesn't skip the BOMs
> properly and barfs on the import.  So, the key is to only use the
> ENCODING UNICODE when there aren't any BOMs, at least until that is
> fixed.
>

Hmm, I thought it worked both with and without a BOM in my little
test.  But I did not use the ENCODING clause, I let it default.  I
will test again tomorrow some time - maybe I didn't have a BOM when I
thought I did!

Malcolm
--
Tue, Jun 8 2010 11:02 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Malcolm,

<< Hmm, I thought it worked both with and without a BOM in my little test.
But I did not use the ENCODING clause, I let it default. >>

Yeah, if you don't use the ENCODING clause on the IMPORT, then you'll be
fine.

--
Tim Young
Elevate Software
www.elevatesoft.com
Tue, Jun 8 2010 1:09 PMPermanent Link

Malcolm Taylor

Tim Young [Elevate Software] wrote:

> Malcolm,
>
> << Hmm, I thought it worked both with and without a BOM in my
> little test. But I did not use the ENCODING clause, I let it
> default. >>
>
> Yeah, if you don't use the ENCODING clause on the IMPORT, then
> you'll be fine.

Good, and that probably means it is a simple fix for you.  Surprised

It was most considerate of you to introduce a bug that does not
affect me .. though Frank may wonder why you picked on him.  I must
remember not to push too hard for new features before their time.
<vbg>

--
Wed, Jun 9 2010 1:52 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Malcolm,

<< Good, and that probably means it is a simple fix for you.  Surprised >>

Actually, yes - skip a couple of bytes in a file stream. Smiley

<< It was most considerate of you to introduce a bug that does not affect me
... though Frank may wonder why you picked on him.  I must remember not to
push too hard for new features before their time. >>

Yes, let that be a lesson to everyone here..... (evil grin).... Smiley

--
Tim Young
Elevate Software
www.elevatesoft.com
Sat, Jun 12 2010 3:31 AMPermanent Link

Frank

> Malcolm,

> It was most considerate of you to introduce a bug that does not
> affect me .. though Frank may wonder why you picked on him.  I must
> remember not to push too hard for new features before their time.

Sometimes you have to take one for the team Wink
Sat, Jun 12 2010 4:29 AMPermanent Link

Malcolm Taylor

Frank wrote:

>
> Sometimes you have to take one for the team Wink

Very true.  Been there, got the T-shirt. Surprised

--
« Previous PagePage 4 of 4
Jump to Page:  1 2 3 4
Image