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
            Priority: Minor


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.

Reply via email to