Skip to content
This repository has been archived by the owner on Jun 30, 2020. It is now read-only.

[WebDAV] Double UTF-8 encoding #132

Open
sfaut opened this issue Mar 8, 2020 · 0 comments
Open

[WebDAV] Double UTF-8 encoding #132

sfaut opened this issue Mar 8, 2020 · 0 comments

Comments

@sfaut
Copy link

sfaut commented Mar 8, 2020

Hi !
Thanks for this great tool :-)
I meet an issue with WebDAV UTF-8 encoding.

My workspace file is :

{
    "folders": [{
        "uri": "webdav://login:password@192.168.0.4:5005?encoding=utf8&binEncoding=utf8",
        "name": "My Server"
    }]
}

I create a file named test.php containing a simple character é [link].
The file is UTF-8, seen bottom-right in VSC.

When I display the page I get : é, the response header in Chrome is Content-Type: text/html; charset=UTF-8 OK.

On my server, when I do a xxd test.php to see the source file hex content, I get c383 c2a9 instead of awaiting c3a9.

On VSC, when I save the file at format ISO 8859-15, the UTF-8 output is correct, and the source file hex content is effectively valid UTF-8 c3a9 oO

It seems there is somewhere a second UTF-8 encoding. Could you help me ?

Thx to have read me,

Server Synology DS418 (ARM)
VSC 1.42.1
Remote Workspace 0.44.0
and the 4 Microsoft remote extensions

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant