Skip to content

Console output to support Unicode #167

Description

@stephen147

Is it possible to change a setting that will output to the console when building such characters?

Write-Host "Mac'IllÌosa, what 👨‍👩‍👦 is this?' 👨‍👩‍👦 😹🤗"

In the console I get this:

Mac'Ill�Oosa, what �Y'��??�Y'��??�Y'� is this?' �Y'��??�Y'��??�Y'� �Y~��Y�-

Activity

  1. ingfors commented on Oct 31, 2022

    @ingfors

    I am having the same type of problems made another issue about it #170

    One simple solution is to enable UTF-8 in Windows.

    Open intl.cpl and click the UTF-8 button under Change system locale...

    image

  2. deathaxe commented on Jan 30, 2025

    @deathaxe
    Member

    Alternatively advice running scripts to output utf-8 by calling chcp 65001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    build systemBuilding of PowerShell files

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions