Ad
  • Custom User Avatar

    thanks for feedback, resolved

  • Custom User Avatar

    I had the same problem in Chrome on Mac, but only if dev tools was open. Closing dev tools rendered everything properly.

  • Default User Avatar

    This is an issue in Javascript now? That's incredibly frustrating. All of the other encoding issues with this kata have been limited to the Python translation. I'll look into it as soon as I have the time available to do so.

    Meanwhile, maybe if I mention jhoffner it might help?

  • Default User Avatar

    I am having this issue as well and cannot complete the kata because of it. All I see are the カタカナ characters and I have tried 4 different browsers and checked that the character encoding is set to UTF-8 on all of them, but no luck. Any update on a way around this? I am using JavaScript.

  • Default User Avatar

    It actually appears that Codewars has modified its test library for Python 2.x to work with ASCII encoding exclusively, which is what I'm guessing is causing these problems. I had actually built a new version of the test cases, one that would invalidate all of the solutions but use unicode strings, but they hit a snag when being passed into the Codewars test fixture. I'm thinking I'll just remove the Python 2.x version of this kata and port it all over to Python 3.x. In the meantime, even if you can't see the output properly, the byte-ordering is what you should be looking at. You can also test in a Python interpreter with Codewars acting funny.

  • Custom User Avatar

    I'm having this same problem, the browser is already set to UTF-8 but the Katakana alphabet doesn't appear

  • Default User Avatar

    I am going to guess that you have your web browser configured to use the Latin-1, Western, or some similar character-encoding rather than UTF-8.

    In Firefox, you can configure this by selecting the following from the view menu (if it's hidden you can press the alt key to reveal it, at least in Windows) View > Text Encoding > Unicode.

    In Internet Explorer, you can configure this by selecting the following from the view menu (if it's hidden you can press the alt key to reveal it, at least in Windows) View > Encoding > Unicode (UTF-8)

    In Chrome, you can configure this by going to the main menu and selecting More Tools > Encoding > Unicode