Bug 161795 - Problem with form export to pdf when url includes utf-8 2-byte characters
Summary: Problem with form export to pdf when url includes utf-8 2-byte characters
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-26 15:20 UTC by Sven Behl
Modified: 2024-06-26 17:00 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Behl 2024-06-26 15:20:47 UTC
Description:
I tried to generate a form which is to be exported as pdf and send via email (button) in the end.

But there's a problem with the URL field in the form settings, that prevents the pdf readers from sending the form.

The problem is, that LibreOffice decodes the German "Umlaute" which have to be encoded as utf-8 2-byte characters (e.g. %C3%BC (ü)) back to the character (ü). This breaks the "mailto:"-protocol.

Is there a way to supress the decoding with any setting in the LibreOffice configuration.

Best regards,
Sven

Steps to Reproduce:
1. enter an 2-byte utf-8 code like %C3%BC in the form properties url field 
2. press tab/enter


Actual Results:
The Code is decoded to the related character

Expected Results:
The code should not be decoded.


Reproducible: Always


User Profile Reset: No

Additional Info:
It would be OK also, if the character (e.g. ü) is exported as %C3%BC instead of <C3><BC> when exporting to pdf.
Comment 1 Julien Nabet 2024-06-26 17:00:16 UTC
On which LO version are you and on which env?

Would it be possible you attach an example file so we can test this quickly?