supersocket new profile "textEncoding"

Before SuperSocket version 1.6, when you send text via Session object, convert the text message to a default encoding of binary data can be transmitted through the Socket is UTF8. You can modify this code by setting Session of the Charset property.
Now in SuperSocket 1.6, you can define the character encoding in the configuration.
The new configuration properties "textEncoding" is added to the server configuration node:
<superSocket>
    <servers>
      <server name="TelnetServer"
          textEncoding="UTF-8"
          serverType="YourAppServer, YourAssembly"
          ip="Any" port="2020">
      </server>
    </servers>
</superSocket>

Guess you like

Origin www.cnblogs.com/fanweisheng/p/11127577.html