Thanks, Nicolas. It seems to work for the moment. I will get back to you if I encounter more problems :). Cheers, Doru On 30 Nov 2009, at 16:43, Nicolas Cellier wrote:
Currently default behaviour depends on LanguageEnvironment... ... which should have hacks depending on the underlying platform.
So I agree with John: BEWARE. My workaround was not intended as a general fix, but just a helper for Tudor...
Cheers
Nicolas
2009/11/30 John M McIntosh <johnmci@smalltalkconsulting.com>:
Er, so what's the default behavior, does it mean that UTF-8 encoding files on OS-X will open as ISO-8859-1 ?
On 2009-11-30, at 5:52 AM, Stéphane Ducasse wrote:
Doru
we integrated the suggestion of nicolas as result of the discussion.
Stef
On Nov 30, 2009, at 12:11 PM, Tudor Girba wrote:
Hi,
I know that there was a long discussion regarding opening of files, but I did not see a resolution.
I would like to be able to read files regardless of the encoding. I am using this code: (CrLfFileStream readOnlyFileNamed: fullPath) contentsOfEntireFile"
but I get an error when I reach a file in Latin 1 (ISO-8859-1).
-- = = = = = = ===================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com = = = = = = =====================================================================
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- www.tudorgirba.com "Problem solving should be concentrated on describing the problem in a way that is relevant for the solution."