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

[LADX] Added some resilience to non-ASCII player names #2642

Merged
merged 4 commits into from
Feb 13, 2024

Conversation

Ishigh1
Copy link
Contributor

@Ishigh1 Ishigh1 commented Dec 29, 2023

What is this fixing or adding?

Currently LADX just crashes on generation if a player has a non-ASCII character. To avoid that, I made so that python ignores or removes accents of such characters instead of just throwing an exception

How was this tested?

I generated a 2-games multiworld with player names that had random non-ASCII, it failed to generate before, it now generates

If this makes graphical changes, please attach screenshots.

image
(The player name here is éçèàã2)

@Ishigh1 Ishigh1 changed the title Added some resilience to non-ASCII player names in LADX [LADX] Added some resilience to non-ASCII player names Dec 29, 2023
@alwaysintreble alwaysintreble added the is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. label Jan 5, 2024
@alwaysintreble alwaysintreble requested a review from zig-for January 5, 2024 04:56
@PoryGone PoryGone added the waiting-on: core-review Issue/PR has been peer-reviewed and is ready to be merged or needs input from a core maintainer. label Feb 10, 2024
@Berserker66 Berserker66 merged commit 3ca3417 into ArchipelagoMW:main Feb 13, 2024
12 checks passed
@github-actions github-actions bot removed the waiting-on: core-review Issue/PR has been peer-reviewed and is ready to be merged or needs input from a core maintainer. label Feb 13, 2024
Jouramie pushed a commit to Jouramie/Archipelago that referenced this pull request Feb 28, 2024
…2642)

* Added some resilience to non-ASCII player names or items

* Also the client, not even sure if switching to ascii is useful here

* Split a long line in two
TheLX5 pushed a commit to TheLX5/Archipelago that referenced this pull request Mar 2, 2024
…2642)

* Added some resilience to non-ASCII player names or items

* Also the client, not even sure if switching to ascii is useful here

* Split a long line in two
TheLX5 pushed a commit to TheLX5/Archipelago that referenced this pull request Mar 2, 2024
…2642)

* Added some resilience to non-ASCII player names or items

* Also the client, not even sure if switching to ascii is useful here

* Split a long line in two
EmilyV99 pushed a commit to EmilyV99/Archipelago that referenced this pull request Apr 15, 2024
…2642)

* Added some resilience to non-ASCII player names or items

* Also the client, not even sure if switching to ascii is useful here

* Split a long line in two
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants