Skip to content

[3DS/ARM41]: Could not set locale "japanese" to allow processing of multibyte characters #1715

@Moddimation

Description

@Moddimation

Describe the bug
Hello there. When I was looking at 3ds scratches, following Error popped up:
Error: #869: could not set locale "japanese" to allow processing of multibyte characters /tmp/code.c: 0 warnings, 1 error
Removing the --locale japanese parameter removes the error, but makes functions mismatch that do use japanese characters in shift-jis.
Noteworthy is that the multibytes parameter is also passed, but it still happens.
It was suggested that the japanese locale set is missing, please do investigate! Thanks.

To Reproduce
Steps to reproduce the behavior:

  1. Make a scratch with a shiftjis character, targetted for 3ds.

Expected behavior
It matches, and doesnt give an error.

Scratches
https://decomp.me/scratch/AvoNi

Additional context
The scratch's compiler flags and the presets dont match up, I updated it to match more. Separate issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions