Skip to content

DYOM Randomizer TTS URL Encoding Problem #187

@yusufyddurmus

Description

@yusufyddurmus

In dyom tts, encoding text to url doesn't work with unicode characters. Which breaks tts when trying to use other languages.

For example the character "ç" gets encoded to "%E7" which is the correct hex value for windows-1252 character but not for urls. Instead it should've been encoded to "%C3%A7"

Screenshot_2
Screenshot_4

This is not a problem with the EncodeURL function though. The function works fine outside of the game.

I janked my solution to this by adding all Turkish characters as exceptions in the function but i would like to avoid that if there is a solution to this.

Screenshot_3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions