Skip to content

Unicode command line string support on Windows. #1410

@ghost

Description

Related discussion

#880 (comment)

Is your feature request related to a problem?

When using the Fluidsynth on windows :
Now, the command line supports ANSI strings, but not non-ANSI strings.
This can sometimes cause problems in multilingual environments.

To be precise, this is not a bug, is a limitation of the ANSI command line interface.
Windows users generally only use ANSI strings, so they will have less trouble using Fluidsynth.
The maintainers seem to be very busy with more important issues.
So this update may not be a high priority.

Describe the solution you'd like

If the command line supported UNICODE strings, the Fluidsynth users would be able to use UNICODE strings in filenames or devicenames, and then more freeing from character encoding issues.

Describe alternatives you've considered

Updating the command line interface from ANSI to UNICODE.
The libfluidsynth functions already support utf-8 strings, so there aren't many updates.

Additional context

The code below need some changes:

  • include/fluidsynth/misc.h
  • src/bindings/fluid_filerenderer.c
  • src/fluidsynth.c

new_codes.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions