Skip to content

Windows doesn't support emojis on terminal  #1451

@tvst

Description

@tvst

Steps to reproduce

  1. Make sure you're on Windows
  2. Make sure Streamlit is not "activated", by removing the credentials file: rm ~/.streamlit/credentials.toml
  3. Run any Streamlit script, such as streamlit hello

Expected behavior:

You should see a message like this on the terminal:

  👋 Welcome to Streamlit!

  If you are one of our development partners or are interested in
  getting personal technical support, please enter your email address
  below. Otherwise, you may leave the field blank.

Actual behavior:

You see instead:

  JUMBLEDTEXTWelcome to Streamlit!

  If you are one of our development partners or are interested in
  getting personal technical support, please enter your email address
  below. Otherwise, you may leave the field blank.

Is this a regression?

Nope.

Additional information

A good-enough solution here would be to simply not show the emoji on Windows.

Bonus points if we detect whether the user is using the new Windows Terminal, which does support emojis, and allow emojis in that case.

Metadata

Metadata

Assignees

Labels

area:windowsRelated to Windows compatibilitytype:bugSomething isn't working as expected

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions