Encoding problem with scheduler.xml after Lucee restart (ISO-8859-1 vs UTF-8)

Description

When we create a new scheduled task with accents characters, everything is fine until we restart Lucee and/or update a scheduled task

  1. Delete the scheduler.xml file (ex.: C:\lucee\tomcat\webapps\ROOT\WEB-INF\lucee\scheduler\scheduler.xml).

  2. For testing purpose, everything is set to UTF-8 in the Charset section of the server and web admin.

  3. Restart Lucee.

  4. An empty scheduler.xml should be created in the scheduler folder. By default, the xml file use encoding="iso-8859-1". (Is it normal?)

  5. Go in the web admin and add a scheduled task with the name : "ÉéàÀ Hello world" (see screenshot before.png)

  6. Restart Lucee

  7. Go back in the web admin and look at the scheduled task name (see screenshot after.png)

Environment

None

Attachments

2

Activity

Pothys - MitrahSoft 9 February 2021 at 12:08
Edited

I've checked this ticket and confirmed the issue happened on lucee latest version 5.3.8.143-SNAPSHOT while testing with admin and also if we test with using cfschedule tag means, it behaves as same. It works/converts defaults to charset UTF-8.

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 8 February 2021 at 18:37
Updated 9 February 2021 at 12:54