You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When sending emails, accented characters are displayed incorrectly. After discussion with François, it turns out that "The rule in webobs is: all files are in ISO8859, and the display (including forms) is in UTF8".
I tried to modify the options of mutt in WEBOBS.rc thanks to the variable POSTBOARD_MAILER_OPTS using all possible combinations of iso-8859-1 and utf-8 but without success.
Example :
The only quick and dirty way to get a mail with the correct encoding is to use the u2l function (currently added in the code of the vedit.pl script):
675c675
< $msg = u2l($msg);
---
>
Of course it won't fit all WebObs installations
What might be the best approach to integrate this cleanly into WebObs?
A first idea:
Create a new variable in WEBOBS.rc like POSTBOARD_ENCODING which could take the empty value (UTF-8 by default), 'utf-8' or 'iso-8859-1'
Edit the postboard.pl file:
If the variable is not defined or is 'utf-8', no conversion. If it is 'iso-8859-1', conversion of mail elements with the 'u2l' function.
Thank you in advance for your comments or suggestions.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The server that hosts our WebObs is configured with the following locales:
When sending emails, accented characters are displayed incorrectly. After discussion with François, it turns out that "The rule in webobs is: all files are in ISO8859, and the display (including forms) is in UTF8".
I tried to modify the options of mutt in WEBOBS.rc thanks to the variable POSTBOARD_MAILER_OPTS using all possible combinations of iso-8859-1 and utf-8 but without success.
Example :
The only quick and dirty way to get a mail with the correct encoding is to use the u2l function (currently added in the code of the vedit.pl script):
Of course it won't fit all WebObs installations
What might be the best approach to integrate this cleanly into WebObs?
A first idea:
Create a new variable in WEBOBS.rc like POSTBOARD_ENCODING which could take the empty value (UTF-8 by default), 'utf-8' or 'iso-8859-1'
Edit the postboard.pl file:
If the variable is not defined or is 'utf-8', no conversion. If it is 'iso-8859-1', conversion of mail elements with the 'u2l' function.
Thank you in advance for your comments or suggestions.
Beta Was this translation helpful? Give feedback.
All reactions