Modify ↓
Opened 3 years ago Last modified 5 months ago #9 accepted bugWrong UTF-8 Support
Description (last modified by damato)
Hi Develoers
I think YAM does not support the UTF-8 encoding correct.
Here is a Step by Step example: 1. Write a new Mail (Type and To and Subject). 2. Switch to the Options Tab. 3. Select UTF-8 as Charset. 4. Switch back to the Message Tab. 5. Type some non ASCII Letters (e.g. the Euro Sign and ��� ��� �). 6. Click "Hold". 7. Switch to the Outguing Folder. 8. Select the Mail you just wrote. 9. Click Read in the Toolbar. 10. Look at the Content-Type it's text/plain; charset=UTF-8 11. But in the Mail you see "? ? ???" but it should "� ��� ��� �"
The cause it that YAM does not encode the Mail to UTF-8 if you click on the "Hold" Button. If you then open the Mail for Read YAM seems to try to decode the UTF-8 Mail but can't find any UTF-8 sequence and you see the question marks.
Hope anybody can fix that...
TIA
Best Regards Frank (Opi) Weber
Moved from SF: Attachments (0)Change History (9)comment:1 Changed 3 years ago by damato
comment:2 Changed 3 years ago by damatocomment:3 Changed 3 years ago by damato
comment:4 Changed 3 years ago by damato
comment:5 Changed 3 years ago by damato
comment:6 Changed 3 years ago by damato
comment:7 Changed 3 years ago by damato
comment:8 Changed 18 months ago by damato
comment:9 Changed 5 months ago by damato
Note: See
TracTickets for help on using
tickets. | This list contains all users that will be notified about changes made to this ticket. These roles will be notified: Reporter, Owner, Subscriber
| ||||||||||||||||||||||||||||



This is not really a bug, but more or less a not yet completed feature.
We introduced the modifyable character set for writing new mails recently only for the purpose to fake the character set of an outgoing mail. That means you can type you mail as usual (most probably using some kind of eastern european characters) and set the charset to something like ISO-8859-42, at least anything different than ISO-8859-1, which AmigaOS uses by default. The receiver of the mail will then be able to read the mail properly. But YAM does NO reencoding of the mail corresponding to the new charset. Only the charset information in the mail's headers will be adopted.
Moved from SF. Original poster: thboeckel
While this works quite good for any Latin-1-alike charset UTF8 is the big exception from the rule as it requires special character sequences to be decoded correctly. Since YAM doesn't do any reencoding when changing the charset the necessary sequences are missing. When YAM then later tries to decode the mail it will try to convert the falsely UTF8 characters back to Latin-1, and of course must fail to find suitable replacement characters. Hence question marks will be produced.
An "quick'n'easy" fix for this issue would be to exclude UTF8 from the list of charsets for writing mails. The complete fix would be to make YAM *and* TE.mcc able to handle arbitrary charsets, or even better completely switch to UTF8 internally.