Azure-pipelines-tasks: Command line task: Unicode encoding issue with windows

Created on 9 Oct 2018  路  3Comments  路  Source: microsoft/azure-pipelines-tasks

This is reported here - https://github.com/zeit/next.js/pull/5358#issuecomment-426906749 (old comments, now probably gone)

Here's the repro -

Yaml file and repo: https://github.com/yaananth/gatsby/blob/master/azure-pipelines.yml

https://yaananth.visualstudio.com/public/_build/results?buildId=2677&view=logs (ran on ubuntu)
renders checkmarks correctly -
image

Where as,
https://yaananth.visualstudio.com/public/_build/results?buildId=2679&view=logs (ran on windows)
Shows garbled text -
image

Build

Most helpful comment

Yes, this was fixed in a recent release of Azure DevOps.

All 3 comments

@moswald has this been fixed now?

Yes, this was fixed in a recent release of Azure DevOps.

@kachkaev let me know if you have a repro. We fixed some character related bugs in viewer. I lost the repro for this so can't verify.
There's also the case where command line can't output unicode characters for windows.
So for that we might have to set code page https://ss64.com/nt/chcp.html

Was this page helpful?
0 / 5 - 0 ratings