Re: Adding data as UTF-8

2007-03-10 Thread Bertrand Delacretaz
On 3/10/07, Walter Underwood <[EMAIL PROTECTED]> wrote: If it does something different, that is a bug. RFC 3023 is clear. --wunder.. Sure - just wanted to confirm what I'm seeing, thanks! -Bertrand

Re: Adding data as UTF-8

2007-03-10 Thread Walter Underwood
If it does something different, that is a bug. RFC 3023 is clear. --wunder On 3/10/07 1:49 PM, "Bertrand Delacretaz" <[EMAIL PROTECTED]> wrote: > On 3/10/07, Walter Underwood <[EMAIL PROTECTED]> wrote: >> It is better to use "application/xml". See RFC 3023. >> Using "text/xml; charset=UTF-8" will

Re: Adding data as UTF-8

2007-03-10 Thread Bertrand Delacretaz
On 3/10/07, Walter Underwood <[EMAIL PROTECTED]> wrote: It is better to use "application/xml". See RFC 3023. Using "text/xml; charset=UTF-8" will override the XML encoding declaration. "application/xml" will not... I agree, but did you try this with our example setup, started with "java -jar st

Re: Adding data as UTF-8

2007-03-10 Thread Morten Fangel
On Saturday 10 March 2007 22:18, Walter Underwood wrote: > It is better to use "application/xml". See RFC 3023. > Using "text/xml; charset=UTF-8" will override the XML > encoding declaration. "application/xml" will not. Thanks for the info. I've changed the header accordingly. -fangel

Re: Adding data as UTF-8

2007-03-10 Thread Walter Underwood
It is better to use "application/xml". See RFC 3023. Using "text/xml; charset=UTF-8" will override the XML encoding declaration. "application/xml" will not. wunder On 3/10/07 12:39 PM, "Bertrand Delacretaz" <[EMAIL PROTECTED]> wrote: > On 3/10/07, Morten Fangel <[EMAIL PROTECTED]> wrote: > >> .

Re: Adding data as UTF-8

2007-03-10 Thread Morten Fangel
On Saturday 10 March 2007 21:39, Bertrand Delacretaz wrote: > On 3/10/07, Morten Fangel <[EMAIL PROTECTED]> wrote: > > ...I send a document like the following: > > > > --- > > ... > > I assume you're using your own code to "send" the document? Indeed. Solr will be integrated (almost) transparently

Re: Adding data as UTF-8

2007-03-10 Thread Bertrand Delacretaz
On 3/10/07, Morten Fangel <[EMAIL PROTECTED]> wrote: ...I send a document like the following: --- ... I assume you're using your own code to "send" the document? Currently you need to include a "Content-type: text/xml; charset=UTF-8" header in your HTTP POST request, and (as you're doing) th

Adding data as UTF-8

2007-03-10 Thread Morten Fangel
Hi, I've been working on adding some Solr-integration into my current project, but have run into a problem with non-ascii characters. I send a document like the following: --- 228 Vedhæft billede til min formular 26 Jeg har lavet en side som skal info om værkstedet Badsetuen i Odense