简体   繁体   中英

Cyrillic text appears garbled in the VisualStudio.com web interface

I am using visualstudio.com git to store my source code, and now it screws up Ukrainian text and instead of:

WithSuccess("Збережено");

I am getting smt like that:

WithSuccess("Çáåðåæåíî");

I am not sure where is the problem us on my local PC everything looks good and only after pushing commits I can see that on web it's changed.

Is there any configuration that helps solve this problem?

... I can see that on web it's changed.

The problem is that there's no meta-information attached to files stored in a Git repository which would hint a renderer (in your case—that web site engine which renders the content of your file) in which encoding the file is encoded. Git most of the time treats what it stores as opaque binaries, and encodings only come to consideration in some of its UI parts ( git log , gitk , git gui ).

So to see what part misbehaves, clone your pushed repository afresh to some other place (on your local PC) and check the contents of the files containing Cyrillic text. If you see everything is OK, then just live with this or file a feature request against that online service for it to support user-specific encoding hints—like the gui.encoding configuration variable used by certain Git tools—so that you could specify what encoding the files in your repository are supposed to be in.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM