[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Classpathx-discuss] MimeUtility.java handling of default charset
From: |
chris burdess |
Subject: |
Re: [Classpathx-discuss] MimeUtility.java handling of default charset |
Date: |
Wed, 5 Nov 2003 14:42:13 +0000 |
User-agent: |
Mutt/1.3.28i |
Øyvind Harboe wrote:
> I'm on a quest to compile a native version(using GCJ) of a program that
> can send emails with UTF8 encoded subject/body.
>
> The function below in MimeUtility.java can return a null pointer, which
> ultimately causes a nullpointer exception.
>
> public static String javaCharset(String charset)
> {
> if (mimeCharsets==null || charset==null)
> return charset;
> String jc = (String)mimeCharsets.get(charset.toLowerCase());
> return (jc!=null) ? jc : charset;
> }
we're currently missing javamail.charset.map
i'll look into writing one asap.
--
chris burdess