Skip to content
  • Lars Kanis's avatar
    d6ce4180
    Windows: Fix encoding of Dir.home · d6ce4180
    Lars Kanis authored
    Dir.home returns an UTF-8 string since ruby-3.0, but the actual
    encoding of the bytes was CP_ACP or CP_OEMCP.
    That led to invalid bytes when calling Dir.home with an unicode
    username.
    d6ce4180
    Windows: Fix encoding of Dir.home
    Lars Kanis authored
    Dir.home returns an UTF-8 string since ruby-3.0, but the actual
    encoding of the bytes was CP_ACP or CP_OEMCP.
    That led to invalid bytes when calling Dir.home with an unicode
    username.
Loading