Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test absolute imports on windows #2149

Closed
alixander opened this issue Oct 11, 2024 · 6 comments
Closed

test absolute imports on windows #2149

alixander opened this issue Oct 11, 2024 · 6 comments

Comments

@alixander
Copy link
Collaborator

#1397 (comment)

@bo-ku-ra
Copy link
Contributor

please add this test pattern

C:\
└─d2
 │ bokura-config.d2
 │
 └─あ     <---( cp932 : windows japanese edition)
    a.d2 <---( UTF-8/UTF-16 : d2 source file )

@bo-ku-ra
Copy link
Contributor

bo-ku-ra commented Oct 11, 2024

d2 v0.6.7: success: successfully compiled

...@../bokura-config

d2 v0.6.7: unexpected text after import

...@file:///C:/d2/bokura-config

@bo-ku-ra
Copy link
Contributor

bo-ku-ra commented Nov 8, 2024

v0.6.8 not yet?

@alixander
Copy link
Collaborator Author

@bo-ku-ra can you try

...@"C:/d2/bokura-config.d2"

@bo-ku-ra
Copy link
Contributor

i've confirmed that it's fine on the windows japanese edition.

@alixander
Copy link
Collaborator Author

will add to the docs to be less confusing: terrastruct/d2-docs#243

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants