What Manish said was true in our case - we first had to do the following:

BufferedReader br= new BufferedReader(new InputStreamReader(new
FileInputStream(filename), "UTF-8"));

before sending it - of course ours was for a file read - but you have
to make sure the actual contents is correct first.

On Wed, 9 Mar 2005 15:29:58 +0530, Manish Jethani
<[EMAIL PROTECTED]> wrote:
> On Tue, 8 Mar 2005 16:40:36 -0500, Steve Pruitt <[EMAIL PROTECTED]>
> wrote:
> 
> > I retrieve the data from the database, serialize to xml, and send back as
> a
> > webservice response. I set my response content type to: 
> > 
> > text/xml; charset=utf-8 
> 
> Setting the content-type just tells the client (Flex) that the data is
> in utf-8. But you have to actually make the data utf-8 before sending
> it across. In Java it's fairly simple -- just pass the charset
> parameter to the conversion functions. If you're doing
> response.write() or something, you should set the charset (or
> "character encoding") in the response object to utf-8 (I'm sorry I
> have forgotten the syntax, and you know better).
> 
> Manish
> 
> 
> 
> Yahoo! Groups Sponsor 
> 
> ADVERTISEMENT
> 
> 
> ________________________________
> Yahoo! Groups Links
> 
> 
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/flexcoders/
> 
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
> 
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


Reply via email to