[EMAIL PROTECTED] wrote: > robert burrell donkin schrieb: > > On 5/7/07, robert burrell donkin <[EMAIL PROTECTED]> wrote: > >> On 5/7/07, ketanbparekh <[EMAIL PROTECTED]> wrote: > >> > > >> > I am running on Windows XP Professional. > >> > >> windows has a difficult default platform encoding so this may well be > >> the problem > > > > i've taken a look at the code in SieveToMultiMailbox and SieveFactory. > > i think that we have encoding issues. the current code will use the > > default platform encoding. when using windoz, this will result in > > UFT-8 and UFT-16 encoded files being decoded incorrectly when (some) > > non-ASCII characters are present.
Yes, I rather suspected this :( > > to fix these issues, an encoding charset needs to be specified > > > > i can think of a couple of options (hopefully people will jump in with > > any i've missed): > > > > 1 JAMES should support a single, hard coded charset (probably UFT-8) > > > > 2 we allow charset to be injected through configuration; defaulting to: > > 2a UFT-8 > > 2b platform > > > > opinions? > > > > - robert > > Hi Robert, > > I think UTF-8 as default i not a good choice because some OS not support > UTF-8 by default. Maybe > ISO-8859-1 is a better choice.. A configuration option whould be cool > too for sure ;-) > > bye > Norman As the spec. prescribes UTF-8, I rather think that this should be the default. As we are running in a VM, that the undetlying OS does or doesn't support UTF-8 isn't an issue. The VM will. We just need to make sure this is what we specify when dealing with character set sensitive code. Cheers Steve --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
