mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 07:35:24 +02:00
[179939] BIDI3.3: HCG Text files written in ASCII Hebrew do not look correctly. The container encoding value was not being picked up. Now it should be.
This commit is contained in:
parent
20a4a9ef77
commit
bb20d0849b
1 changed files with 7 additions and 1 deletions
|
@ -1121,7 +1121,13 @@ public abstract class RemoteFile implements IRemoteFile, IAdaptable, Comparable
|
|||
String encoding = RemoteFileEncodingManager.getInstance().getEncoding(getHostName(), getAbsolutePath());
|
||||
|
||||
if (encoding == null) {
|
||||
encoding = getParentRemoteFileSubSystem().getRemoteEncoding();
|
||||
|
||||
if (isRoot()) {
|
||||
encoding = getParentRemoteFileSubSystem().getRemoteEncoding();
|
||||
}
|
||||
else {
|
||||
encoding = getParentRemoteFile().getEncoding();
|
||||
}
|
||||
}
|
||||
|
||||
return encoding;
|
||||
|
|
Loading…
Add table
Reference in a new issue