Thanks for the info.
But why do you need the ASCII and UTF-7 encoding at all?
Provided the text contained non-ASCII chars they would be replaced by
the default fail char ?, why not just save with default ANSI encoding,
the first 128 chars are always the same, in any codepage.
Also I've never seen
So maybe somewhere in the code a wrong codepage is passed this this Win32
API call.
That won't raise an exception unless some wrapper function throwed one.
I sorted the problem out and it was not ICS (as what we agreed on already).
FYI
I use a save file dialog and allow the user to choose
- Original Message -
From: Peter Van Hove pe...@smart-projects.net
To: twsocket@elists.org
Sent: Sunday, October 25, 2009 12:21 PM
Subject: [twsocket] error Invalid code page (Peter Van Hove)
But I did a search in the files for Invalid code page and I
couldn't find anything ... so I
Where it said:
The error is actually coming from Windows, not Delphi,
when TEncoding's constructor passes $ to the Win32 API GetCPInfo()
function and it fails.
Passing an invalid codepage to GetCPInfo will let the function fail
with return ERROR_INVALID_PARAMETER, the exception is actually
Hi guys,
I posted below quote in the embarcadero.public.cppbuilder.ide newsgroup.
My first reaction was that this is a Borland issue, but since I use two
components (ICS and DragDrop) I need to make sure that it's not coming from
something else.
This is on a user's system and I can't debug
Hello Peter,
Would be nice to know what ICS components you actually use.
--
Arno Garrels
Peter Van Hove wrote:
Hi guys,
I posted below quote in the embarcadero.public.cppbuilder.ide
newsgroup.
My first reaction was that this is a Borland issue, but since I use
two components (ICS