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

🐛 BUG: Content Collections Intellisense doesn't work when file name has UTF character #992

Open
yinhx3 opened this issue Feb 11, 2025 · 0 comments
Labels
needs triage Issue needs to be triaged

Comments

@yinhx3
Copy link

yinhx3 commented Feb 11, 2025

Describe the Bug

My markdown file has Chinese character in file name. I run npm run build and ensure .astro\collections\collections.json is updated. Content Collections Intellisense doesn't work.
I create a new file with English and number as file name and do the same operation, and it works.
I notice that UTF in file name is encoded to URL like "file:///d:/repos/my-astro-project/src/data/post/%e4%b8%80.md"

Steps to Reproduce

Create a file in collections with UTF character file name like "一.md", build to update collection.json

Link to Minimal Reproducible Example

doesn't need

@github-actions github-actions bot added the needs triage Issue needs to be triaged label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant