Charset encoding for filenames on Environment tab of Session edit dialog is not working. You cannot actually change charset of filenames. This happend because TSessionData::DoCopyData does not copy FCodePage / FCodePageAsNumber fields.
This PR fixes aforementioned issue. It should also help solve this external issue.
Under the hood, this PR also removes duplicate code fragment that remained after routine update.
Charset encoding for filenames
onEnvironment
tab of Session edit dialog is not working. You cannot actually change charset of filenames. This happend becauseTSessionData::DoCopyData
does not copyFCodePage
/FCodePageAsNumber
fields.This PR fixes aforementioned issue. It should also help solve this external issue.
Under the hood, this PR also removes duplicate code fragment that remained after routine update.