Skip to content

Error string looks funky on Windows #4

Closed

Description

@TotoShampoin

Hello!

So, I am well aware that special characters in Windows are a gigantic pain to deal with, be it in C or in Zig.

But I believe there might be something to be done in this lib, to fix the fact that it prints this:

interface:487:21: error: Type 'interface.ClassC' does not implement interface 'interface.Interface(.{ .foo = fn (anytype) void, .bar = fn (anytype) void },null)':
                                                    1. Missing required method: foo
                                                       ÔööÔöÇ Add the method with the correct signature to your implementation

instead of this:

interface:487:21: error: Type 'interface.ClassC' does not implement interface 'interface.Interface(.{ .foo = fn (anytype) void, .bar = fn (anytype) void },null)':
                                                    1. Missing required method: foo
                                                          └─  Add the method with the correct signature to your implementation

Activity

  1. TotoShampoin commented on Feb 8, 2025

    @TotoShampoin
    Author

    also, unrelated, but I suggest you update the gitignore to handle the cache being put in .zig-cache instead of zig-cache (ZLS puts a .zig-cache everywhere with a build.zig, from what I understand)

  2. nilslice commented on Apr 20, 2025

    @nilslice
    Owner

    Thanks, @TotoShampoin - .zig-cache is being handled in #7, but will need to look into the core issue more. These decorative characters clearly aren't Windows-friendly :)

  3. nilslice commented on Jun 6, 2025

    @nilslice
    Owner

    I believe #8 should fix this. If you have a chance to check, please let me know!

  4. nilslice commented on Oct 28, 2025

    @nilslice
    Owner

    And merged as part of #9.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions