Skip to content
This repository has been archived by the owner on Sep 11, 2021. It is now read-only.

Make session name display ok in chinese. #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions PuTTYSessionManager/PuTTY Session Manager.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Web" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion PuTTYSessionManager/model/Session.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public bool IsFolder
public Session(string regKey, string folderName, bool isFolder)
{
SessionKey = regKey;
SessionDisplayText = convertSessionKeyToDisplay(regKey);
SessionDisplayText = System.Web.HttpUtility.UrlDecode(regKey, System.Text.Encoding.Default);

if (folderName == null || folderName.Equals("") || folderName.Equals(SESSIONS_FOLDER_NAME))
{
Expand Down