faust icon indicating copy to clipboard operation
faust copied to clipboard

faust2lv2 Improper Handling of Non-ASCII Characters in Plugin Metadata

Open Oshangsurtani opened this issue 6 months ago • 0 comments

Environment

  • Faust version: 2.74.6
  • Platform: All (affects LV2 plugin generation)
  • Command/Usage: Generating LV2 plugins using faust2lv2 with non-ASCII characters in plugin names or metadata

Description

When generating LV2 plugins using faust2lv2, I observed that non-ASCII characters (e.g., accented characters, characters from non-Latin alphabets) in the plugin metadata are not handled correctly. This results in improperly encoded identifiers and XML metadata within the generated LV2 plugin bundle, which may lead to warnings or errors in LV2 host applications.

Impact

  • Metadata Issues: Non-ASCII characters in plugin names or other metadata result in invalid XML or misinterpreted values.
  • Host Compatibility: Some LV2 hosts may reject or misbehave when encountering these malformed metadata entries.
  • User Experience: Users with localized plugin names or documentation may face issues, reducing the overall usability of the generated plugins.

Oshangsurtani avatar Apr 08 '25 14:04 Oshangsurtani