Ignore:
Timestamp:
Sep 7, 2010, 3:50:55 PM (14 years ago)
Author:
Sam Habiel
Message:

Finally. v. 1.4.
Support for checking encoding on the server (if supports UTF-8 and encoding not specified, uses UTF-8; otherwise uses what locale says).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/CGDocumentManager.cs

    r843 r935  
    338338                //decimal fBuild = Convert.ToDecimal(sBuild);
    339339
     340                //Change encoding
     341                if (m_Encoding == String.Empty)
     342                {
     343                    string utf8_server_support = m_ConnectInfo.bmxNetLib.TransmitRPC("BMX UTF-8", "");
     344                    if (utf8_server_support == "1")
     345                        m_ConnectInfo.bmxNetLib.Encoder = System.Text.UTF8Encoding.UTF8;
     346                }
    340347                                //Set application context
    341348                                m_ds.SetStatus("Setting Application Context to BSDXRPC...");
Note: See TracChangeset for help on using the changeset viewer.