Re: win-1251 encoding support

2001-02-26 Thread Andy Clark
jean-frederic clere wrote: > The last trick is to add the support in xerces: > Find below a patch I have used. Please post your patches as attachments so that formatting doesn't mess with the contents of the patch. -- Andy Clark * IBM, TRL - Japan * [EMAIL PROTECTED]

Re: win-1251 encoding support

2001-02-23 Thread jean-frederic clere
private MIME2Java() { ++ I hope it helps Cheers Jean-frederic > > --- éÓÈÏÄÎÏÅ ÓÏÏÂÛÅÎÉÅ --- > äÁÔÁ: 22.02.01, 15:14 > ïÔ: jean-frederic cler

Re: win-1251 encoding support

2001-02-23 Thread Andy Clark
olegabr wrote: > I've done it and encoding==cp1251 > but it is not supported by xerces Just for a sanity check, have you tried "Cp1251" -- the case- sensitive version of the string that matches the Java byte decoder class name? -- Andy Clark * IBM, TRL - Japan * [EMAIL PROTECTED]

Re: win-1251 encoding support

2001-02-23 Thread Andy Clark
Mark Diekhans wrote: > The IANA name is `windows-1251'; try `Cp1251', which is probably the > alias java is using. (Cp == Code page). I stand corrected. Thank you. For the official list, check out: http://www.isi.edu/in-notes/iana/assignments/character-sets In the meantime, if you want to use

Re: Re: win-1251 encoding support

2001-02-23 Thread Milind Gadre
Neil, it may help to do a 'equalsIgnoreCase' on the encoding name, would save folks a lot of headaches and confusion. Regards... Milind Gadre ecPlatforms, Inc 901 Mariner's Island Blvd, Suite 565 San Mateo, CA 94404 C: 510-919-0596 F: 815-352-0779 [EMAIL PROTECTED] > Hello, > > Try "CP1251" (nlo

Re: Re: win-1251 encoding support

2001-02-23 Thread Milind Gadre
;[EMAIL PROTECTED]> Sent: Thursday, February 22, 2001 11:17 AM Subject: Re: Re: win-1251 encoding support > I've done it and encoding==cp1251 > but it is not supported by xerces > > question: how can I convert my files in one of encodings > that is already supported? &g

Re: Re: win-1251 encoding support

2001-02-22 Thread neilg
ment IBM Toronto Lab Phone: 416-448-3519, T/L 778-3519 E-mail: [EMAIL PROTECTED] olegabr <[EMAIL PROTECTED]> on 02/22/2001 02:17:07 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Re: Re: win-1251 encoding support I've done it and encoding==cp1251 bu

Re: Re: win-1251 encoding support

2001-02-22 Thread olegabr
gt; Тема: Re: win-1251 encoding support olegabr wrote: > > hi all! > I use xerces-j 1.3.0 with jdk 1.1.8 > and I try to parse xml files which was written under windows-1251 > encoding. And I have an error: unsupported encoding "windows-1251".

Re: Re: win-1251 encoding support

2001-02-22 Thread olegabr
gt; Тема: Re: win-1251 encoding support olegabr wrote: > > hi all! > I use xerces-j 1.3.0 with jdk 1.1.8 > and I try to parse xml files which was written under windows-1251 > encoding. And I have an error: unsupported encoding "windows-1251".

Re: win-1251 encoding support

2001-02-22 Thread jean-frederic clere
olegabr wrote: > > hi all! > I use xerces-j 1.3.0 with jdk 1.1.8 > and I try to parse xml files which was written under windows-1251 > encoding. And I have an error: unsupported encoding "windows-1251". > So, what can I do to avoid this problem? >

Re: win-1251 encoding support

2001-02-22 Thread Mark Diekhans
Andy Clark <[EMAIL PROTECTED]> writes: > olegabr wrote: > > I use xerces-j 1.3.0 with jdk 1.1.8 > > and I try to parse xml files which was written under windows-1251 > > encoding. And I have an error: unsupported encoding "windows-1251". > > So, what can I do to avoid this problem? > > Use the IAN

Re: win-1251 encoding support

2001-02-22 Thread Andy Clark
olegabr wrote: > I use xerces-j 1.3.0 with jdk 1.1.8 > and I try to parse xml files which was written under windows-1251 > encoding. And I have an error: unsupported encoding "windows-1251". > So, what can I do to avoid this problem? Use the IANA encoding name that is equivalent to the Windows enc