There is an issue with DDEV and UTF8 output on Japanese Win10 systems in powershell & git-bash.
ddev list
displays an truncated mark (=
) at the end of table lines on dispite the window size being big enough to contain the full table.
This occurs in the following although the exact breakpoint varies slightly between them.
This answer is a collection of solutions, centralized, to help others.
There seems to be a known bug with UTF8 from 'external' programs on CJK language systems discussed here and here.
properties
# Get profile path
echo $profile
[home]\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1
[console]::InputEncoding = [console]::OutputEncoding = New-Object System.Text.UTF8Encoding
[home]\Documents\PowerShell\Microsoft.PowerShell_profile.ps1
# Get profile path
echo $profile
[home]\Documents\PowerShell\Microsoft.PowerShell_profile.ps1
[console]::InputEncoding = [console]::OutputEncoding = New-Object System.Text.UTF8Encoding
~/.bash_profile
# Explicitly set UTF-8 encoding
chcp.com 65001