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

Using Turkish Characters for Filenames #992

Open
ahmetozdemiras opened this issue Feb 3, 2025 · 0 comments
Open

Using Turkish Characters for Filenames #992

ahmetozdemiras opened this issue Feb 3, 2025 · 0 comments

Comments

@ahmetozdemiras
Copy link

🐛 Bug Report

Running svgr --out-dir src src command on my laptop, creates components using Turkish characters for filenames. My laptop is English but my location is in Turkiye. I don't know how does it work behind the scene while generating files but it is creating components with Turkish characters. For example:

Original file: car_view_interior_view_360.svg
Generated File: CarViewİnteriorView360.tsx

It is using "İ" rather than "I".

To Reproduce

Steps to reproduce the behavior:

I am not sure but I believe changing your location to Turkiye in your computer and running svgr command with some files including characters such as lowercase i should do the trick.

Expected behavior

I would expect to have English file naming no matter what.

Link to repl or repo (highly encouraged)

Unfortunately it was internal company repo.

Issues without a reproduction link are likely to stall.

Run npx envinfo --system --binaries --npmPackages @svgr/core,@svgr/cli,@svgr/webpack,@svgr/rollup --markdown --clipboard

Paste the results here:

## System:
 - OS: macOS 13.6.3
 - CPU: (12) arm64 Apple M2 Pro
 - Memory: 118.44 MB / 16.00 GB
 - Shell: 5.9 - /bin/zsh
## Binaries:
 - Node: 16.20.2 - ~/.nvm/versions/node/v16.20.2/bin/node
 - Yarn: 1.22.22 - /opt/homebrew/bin/yarn
 - npm: 8.19.4 - ~/.nvm/versions/node/v16.20.2/bin/npm
 - pnpm: 8.12.1 - /opt/homebrew/bin/pnpm
 - Watchman: 2024.08.12.00 - /opt/homebrew/bin/watchman
## npmPackages:
 - @svgr/cli: ^5.5.0 => 5.5.0
 - @svgr/rollup: ^5.5.0 => 5.5.0
 - @svgr/webpack: ^5.5.0 => 5.5.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant