You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Siegfried Goeschl (JIRA)" <ji...@apache.org> on 2010/12/16 22:44:01 UTC
[jira] Commented: (EMAIL-102) HtmlEmail embed toLowerCase bug
[ https://issues.apache.org/jira/browse/EMAIL-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972218#action_12972218 ]
Siegfried Goeschl commented on EMAIL-102:
-----------------------------------------
Have you tested
String cid = EmailUtils.randomAlphabetic(HtmlEmail.CID_LENGTH).toLowerCase(Locale.ENGLISH);
> HtmlEmail embed toLowerCase bug
> -------------------------------
>
> Key: EMAIL-102
> URL: https://issues.apache.org/jira/browse/EMAIL-102
> Project: Commons Email
> Issue Type: Bug
> Affects Versions: 1.2
> Environment: Windows XP, Solaris and Turkish Regional Environment
> Reporter: Okan Özeren
> Assignee: Siegfried Goeschl
> Priority: Minor
> Fix For: 1.3
>
>
> When I embed an image to my html email object, if randomAlphabetic (on this line HtmlEmail.java:325) method brought uppercase 'I' character, at the this time toLowerCase method convert it to lowercase Turkish 'ı' character. I think, toLowerCase brougt lowercase 'ı' character when regional settings up to Turkish. In that case, this header variable expose to mime encoding process and set as like "cid:=C4=B1glhuooecb" (=C4=B1 is lowercase 'ı' character) and the mail clients does not show this embedded image.
> Maybe, toLowerCase method use by passing English Locale parameters then this must work correctly like this "toLowerCase(Locale.ENGLISH);".
> Best regards,
> Okan Özeren.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.