Eric,

This seems to indicate that neither the Unicode Converter, nor an
appropriate Text Encoding Converter, are installed on the machine you're
working on.

Xerces/mac will not work without a properly installed Mac Unicode converter.
There is a bug associated with this...the Mac code ought to properly detect
this situation and fail a bit more gracefully (with a Xerces panic, at
least) rather than crashing...I'll fix that bug.

As far as why these components are not installed on a stock 8.6 system, I
don't know. I'll try to do some checking on what version they shipped on.

-jdb


On 5/21/01 7:27 AM, "Eric Deines" <[EMAIL PROTECTED]> wrote:

> Hi James,
> 
> I replaced the call to UpgradeScriptInfoToTextEncoding with the code you
> supplied.  When I stepped through it, the if statement failed, so it when
> to DebugStr(...) with no problem, but then I got the "Illegal instruction
> exception" at the function call CreateTextToUnicodeInfoByEncoding.  (Which
> is right after the call to UpgradeSriptInfoToTextEncoding).
> 
> Are UpgradeScriptInfoToTextEncoding and CreateTextToUnicodeInfoByEncoding
> both Mac OS "Carbon" functions?  Could it be that I don't have the Carbon
> stuff setup correctly?
> 
> -Eric
> 
> 
> 
> At 09:31 AM 5/18/2001 -0700, you wrote:
>> Eric,
>> 
>> Please try replacing the call to UpgradeScriptInfoToTextEncoding with the
>> following code, and let me know if it helps:
>> 
>>    if (UpgradeScriptInfoToTextEncoding != 0)
>>     {
>>         status = UpgradeScriptInfoToTextEncoding(
>>             smSystemScript, kTextLanguageDontCare, kTextRegionDontCare,
>>             NULL, &systemTextEncoding);
>>     }
>>     else
>>         DebugStr( \UpgradeScriptInfoToTextEncoding unsupported );
>> 
>> 
>> -jdb
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

--
/**********************************
 James D. Berry
 mailto:[EMAIL PROTECTED]
 vox:503.265.1213 fax:503.222.3020
 **********************************/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to