On May 05, 2006, at 15:24 UTC, Arne wrote:

> This problem is driving me crazy....  It seems like the textencoding 
> becomes Macroman even if I try to
> set the encoding to UTF8. So in my example below the filename becomes 
> åäöÅÄÖ instead of ŒŠš€….

Your attempted work-around is very bad mojo: you're calling DefineEncoding on a 
string that should already have a known encoding.  You're also using absolute 
paths, which are evil and dangerous.

Anyway, the real problem here is probably that the SaveAsJPEG method is not 
unicode-savvy.  But that shouldn't matter unless you're trying to save a file 
name that can't be represented in the default system encoding (probably 
MacRoman).  Your mail got a bit garbled, so I can't tell if that's what you're 
trying to do.  Can you back up and describe what sort of text you're entering 
for a file name, and what sort of file name is actually appearing on disk?

Best,
- Joe

--
Joe Strout -- [EMAIL PROTECTED]
Available for custom REALbasic programming or instruction.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to