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

[WebDAV] Double UTF-8 encoding #132

@sfaut

Description

@sfaut

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

My workspace file is :

{
    "folders": [{
        "uri": "webdav://login:[email protected]: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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions