EldoS | Feel safer!

Software components for data protection, secure storage and transfer

How to convert System.Text.Encoding to a string suitable for SBB?

Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.
Posted: 01/14/2014 06:26:58
by Peter Palotas (Basic support level)
Joined: 11/01/2012
Posts: 49

Many methods in EldoS have an Encoding parameter that is a string, for example the DefaultEncoding parameter of TElXMLDOMDOcument.LoadFromStream.

Now, if I have a System.Text.Encoding object representing the encoding of my Stream, how do I convert this to a string suitable for that method call?

Regards, Peter.
Posted: 01/14/2014 11:58:40
by Peter Palotas (Basic support level)
Joined: 11/01/2012
Posts: 49

This was already answered in the thread https://eldos.com/forum/read.php?FID=7&TID=5025&MID=27990#message27990

It seems that Encoding.WebName is the correct way to go.



Topic viewed 639 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!