Hello,
We have implemented web interface connecting via REST to OTRS.
We have now the problem that when an user is pasting values with breaklines, that becomes for example "Support\r\nAvailable" in OTRS.
However, using OTRS customer interface, that is correctly entered within the ticket information in OTRS.
Do you have any idea how to solve that? Our agents will probably use that copy+paste option with breaklines from whatever source they may use.
Thank you in advance.
Text with break lines becomes \r \n
-
- Znuny superhero
- Posts: 635
- Joined: 24 Feb 2012, 03:58
- Znuny Version: LTS and Features
- Real Name: Mo Azfar
- Location: Kuala Lumpur, MY
- Contact:
Re: Text with break lines becomes \r \n
Try to set content as html
ContentType => 'text/html; charset=utf-8'
Good luck
ContentType => 'text/html; charset=utf-8'
Good luck
My Github
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This
Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This
Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English