Developer forum

Forum » Development » Encoding probs with File- and XML-File Destination

Encoding probs with File- and XML-File Destination


Reply
When creating file output with Import/Export module we can use the File- or the XML File destination activities - but the files are NOT written in UTF-8 Encoding.

Is this a BUG, local issue or release specific?

Replies

 
Reply
The .NET framework uses UTF-16 as default, which is used in DW
 
Reply
Nahh :) what about this inside the web.config:

<globalization requestEncoding="utf-8" responseEncoding="utf-8" fileEncoding="utf-8"/>

example taken from DW7 19.0.0.4 release
 
Reply
The fileEncoding set in web.config only specifies the encoding of aspx's. For more information look here:
http://msdn.microsoft.com/en-us/library/hy4kkhe0(VS.80).aspx

The encoding for writing files to the filesystem is default UTF-16 in the .NET framework.

I hope this answers your question.

 - Lasse

 

You must be logged in to post in the forum