NotesDXLExporter & charset

Hello,

I have been looking for a solution to force charset to iso-8859-1 when exporting documents with NotesDXLExporter. The only option i found was to generate a local file on the server, an then send that file to the client. This is not an option for me. Does somebody have another option or wrote the code to export notes documents in xml format ?

Many thanks for your answers (even negative).

Subject: NotesDXLExporter & charset

are u using the NotesStream class during yr dxlexport, if so then in the open method u can specify which set to use.

Subject: RE: NotesDXLExporter & charset

As far as i understand, Stream.Open is for writing to a file only. Writing to a file is not an option for me.Think i am going to write an agent which does something similar …

Subject: RE: NotesDXLExporter & charset

I hate to think how you’re going to perform your own character set conversion. What do you mean that you want to “send the file to the client”? What is your client? Where is your code running? How is it initiated? Why does it make a difference what character set it’s in? What are you trying to accomplish by all this?

If the client is a web browser and you’re “printing” data to it, you can control the type of the output by printing a “content-type” header.

Is it an option to use the LC LSX? There’s an LCStream class there that might be useful.

Subject: RE: NotesDXLExporter & charset

You are right, there’s no need to perform a character set conversion. It’s long to explain, but I thought i got problems because of the xml encoding option but i was wrong, and indeed specifying content-type is sufficient.Thanks for your suggestions.