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

How to handle special characters in item names #9

Open
Kebap opened this issue Jun 2, 2021 · 3 comments
Open

How to handle special characters in item names #9

Kebap opened this issue Jun 2, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@Kebap
Copy link

Kebap commented Jun 2, 2021

I have items names containing : or / characters for example, how to muddle?

@Kebap
Copy link
Author

Kebap commented Jun 2, 2021

Testing through, putting : in file name does not seem to influence muddle after all.*
(on Linux, that is. Whereas Windows forbids such characters in file names instead.)

Also as well / is a forbidden sign by OS and probably can't be used in item names then.

@demonnic
Copy link
Owner

demonnic commented Jun 4, 2021

Yeah, I should make a note of potential issues with special characters depending on OS/etc. I'm not doing any special handling there, apart from changing spaces to _ when converting name to .lua filename.

@demonnic demonnic self-assigned this Jun 4, 2021
@Kebap
Copy link
Author

Kebap commented Jun 4, 2021

It would be nice to find some workaround to use all characters in Mudlet item names, even those forbidden for OS file names!

For the record, Windows forbids all of these: \ / : * ? " < > |

changing spaces to _ when converting name to .lua filename.

Interestingly spaces work fine for folder names which translate to folders in Mudlet with space characters alright

edit: Hey, wait, so if I do want to use an underscore in an object name, it currently can't be done either, right? 🤔

@demonnic demonnic added the enhancement New feature or request label Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants