Skip to content

No Emoji Support (Computer Name)ย #1053

@LeonNikolai

Description

@LeonNikolai

I have had my computer name be ๐Ÿš€ (a rocket emoji) for a while, i recently decided to learn and install Erlang, Elixir, and Phoenix. When i reached Phoenix's installation step of "mix archive.install hex phx_new" i crashed. I struggled to figure out why. Until I realized its something Unicode, when i got a suspicion. I preceded to rename my computer to pure ascii characters, and I could run it just fine. I'm not sure if this is a Hex, Erlang, or Phoenix Issue, but from what I can tell its a Hex one.

  • ๐Ÿš€as a computer name makes it fail.
  • I run Windows 11
PS C:\Users\leon\Desktop\PhoenixTest> mix archive.install hex phx_new

22:49:17.002 [notice] Application hex exited: Hex.Application.start(:normal, []) returned an error: shutdown: failed to start child: Hex.State
    ** (EXIT) an exception was raised:
        ** (UnicodeConversionError) invalid code point 55357
            (elixir 1.17.3) lib/list.ex:1103: List.to_string/1
            (elixir 1.17.3) lib/system.ex:627: anonymous fn/1 in System.get_env/0
            (elixir 1.17.3) lib/enum.ex:1703: Enum."-map/2-lists^map/1-1-"/2
            (elixir 1.17.3) lib/enum.ex:1703: Enum."-map/2-lists^map/1-1-"/2
            (elixir 1.17.3) lib/map.ex:262: Map.new_from_enum/2
            (hex 2.1.1) lib/hex/state.ex:234: Hex.State.load_config_value/3
            (hex 2.1.1) lib/hex/state.ex:155: anonymous fn/3 in Hex.State.init/1
            (elixir 1.17.3) lib/map.ex:257: Map.do_map/2

22:49:17.013 [notice] Application inets exited: :stopped
22:49:17.018 [notice] Application ssl exited: :stopped
22:49:17.019 [notice] Application public_key exited: :stopped
22:49:17.019 [notice] Application asn1 exited: :stopped
22:49:17.019 [notice] Application crypto exited: :stopped
Could not start Hex. Try fetching a new version with "mix local.hex" or uninstalling it with "mix archive.uninstall hex.ez"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions