Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 586295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:05:33+00:00 2026-05-13T15:05:33+00:00

I want a shell that supports Unicode on Windows. PowerShell as it ships doesn’t

  • 0

I want a shell that supports Unicode on Windows. PowerShell as it ships doesn’t seem to.

PowerShell V2 (Windows 7 x64):

PS C:\> powershell
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.

PS C:\> python
Python 2.6.2 (r262:71605, Apr 14 2009, 22:46:50) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> unicode_char=unichr(0xf12)
>>> unicode_char
u'\u0f12'
>>> print unicode_char
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\python26\lib\encodings\cp437.py", line 12, in encode
    return codecs.charmap_encode(input,errors,encoding_map)
UnicodeEncodeError: 'charmap' codec can't encode character u'\u0f12' in position 0: character maps to <undefined>
>>>

I get similar results with PowerShell ISE, even though some places around the web claim it to be Unicode supporting or whatever…

The Python Integrated Development Environment (IDLE) 2.6.2 seems to work fine:

>>> unicode_char=unichr(0xf12)
>>> print unicode_char
༒
>>> 

IDLE is very slow, and I would prefer another shell, any ideas? Can I make this work in PowerShell?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T15:05:34+00:00Added an answer on May 13, 2026 at 3:05 pm

    The Windows console subsystem is not Unicode, but code page based. You can play around with setting the code page:

    PS> chcp 65001
    PS> ipy64.exe
    >>> print unichr(0x3a9)
    Ω
    

    I couldn’t get (0xF12) to give the right character with that codepage. Perhaps it is available on another code page.

    ISE can display Unicode and accept Unicode input, for example,

    PS> [char]0xf12
    ༒
    PS> [char]0xe4
    ä
    PS> [char]0x3a9
    Ω
    

    However, ISE doesn’t seem to play well with the IronPython interpreter.

    Further to the point that ISE seems to handle Unicode coming from a native application via stdout:

    $src = @'
    namespace Foo {
        public class Bar
        {
            public static void Baz()
            {
                System.Console.Out.WriteLine("\u0f12");
                System.Console.Out.WriteLine("\u00e4");
                System.Console.Out.WriteLine("\u03a9");
            }
        }
    }
    '@
    
    Add-Type -TypeDefinition $src
    
    [Foo.Bar]::Baz()
    ༒
    ä
    Ω
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 317k
  • Answers 317k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The number is timestamp. Really useful when you have several… May 13, 2026 at 11:47 pm
  • Editorial Team
    Editorial Team added an answer Here's a quick breakdown between languages Managed C++: Supports string… May 13, 2026 at 11:47 pm
  • Editorial Team
    Editorial Team added an answer Turns out there is no way to directly use an… May 13, 2026 at 11:47 pm

Related Questions

I've gone through the academic Scheme stuff (read SICP, The Little Schemer, The Seasoned
In SCons, my command generators create ridiculously long command lines. I'd like to be
Is there a simple shell command/script that supports excluding certain files/folders from being archived?
I currently have a git setup where git is a user on my linux
I'm planning to release some compiled code that shall be linked by client applications

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.