solid-start icon indicating copy to clipboard operation
solid-start copied to clipboard

[Bug?]: Assets with names containing international characters don't work in prod on cloudflare-pages

Open rvlzzr opened this issue 6 months ago • 8 comments

Duplicates

  • [X] I have searched the existing issues

Latest version

  • [X] I have tested the latest version

Current behavior 😯

Assets named with international characters do not load in prod, at least when using the cloudflare-pages preset.

Expected behavior 🤔

Assets named with international characters work consistently in dev and prod using any preset.

Steps to reproduce 🕹

Steps:

  1. Image files src/assets/서아.webp and src/assets/seoa.webp exist
  2. Import them and use them in img tags
  3. Note that both images show up in dev, but when deployed to prod, at least on cloudflare, the seoa.webp image loads correctly while the 서아.webp image is broken.

I haven't yet tested this using other presets so I'm not sure whether or not this issue is exclusive to cloudflare-pages.

Context 🔦

I am trying to import images such as 서아.webp named with international characters and use them in img tags.

Your environment 🌎

No response

rvlzzr avatar Aug 21 '24 01:08 rvlzzr