|
From: <cre...@us...> - 2006-05-03 21:03:16
|
Revision: 1343 Author: creecode Date: 2006-05-03 14:03:09 -0700 (Wed, 03 May 2006) ViewCVS: http://svn.sourceforge.net/frontierkernel/?rev=1343&view=rev Log Message: ----------- in macromantoutf8 function, fixed bug introduced in changeover to use converttextencoding function, reverse encIn and encOut values Modified Paths: -------------- Frontier/trunk/Common/source/strings.c Modified: Frontier/trunk/Common/source/strings.c =================================================================== --- Frontier/trunk/Common/source/strings.c 2006-05-03 20:03:51 UTC (rev 1342) +++ Frontier/trunk/Common/source/strings.c 2006-05-03 21:03:09 UTC (rev 1343) @@ -3000,6 +3000,8 @@ boolean macromantoutf8 (Handle h, Handle hresult) { /* + 2006-05-03 creedon: fixed bug introduced in changeover to use converttextencoding function, reverse encIn and encOut + values 2006-02-24 creedon: convert from Mac Roman character set to UTF-8, cribbed from ansitoutf8 */ @@ -3015,8 +3017,8 @@ #ifdef MACVERSION - encIn = kCFStringEncodingUTF8; - encOut = kTextEncodingMacRoman; + encIn = kTextEncodingMacRoman; + encOut = kCFStringEncodingUTF8; #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |