ID:2520163
 
Resolved
Using the icon() proc or new/icon() to isolate a specific icon state didn't work for accented characters because the icon wasn't converted on load.
BYOND Version:513.1495
Operating System:Windows 10 Pro 64-bit
Web Browser:Chrome 78.0.3904.87
Applies to:Dream Daemon
Status: Resolved (513.1496)

This issue has been resolved.
Descriptive Problem Summary:
Icons with an accent (such as 'é') in their icon state do not appear when the icon is assigned via the icon() proc.
This issue may be related to: http://www.byond.com/forum/post/2520161

Demo Project:

Numbered Steps to Reproduce Problem:
1: Create an icon file
2: Create an icon state with an accented character such as 'é'
3: Assign the icon to an atom via the icon() proc
4: Note that the icon does not appear in-game

Code Snippet (if applicable) to Reproduce Problem:
mob
New()
..()
icon = icon('Region 06.dmi',"Flabébé")

// See full demo project here:
https://drive.google.com/file/d/111e9DL54uA5DKB3boRwZnrXMjSpUcXyU/view?usp=sharing


Expected Results:
Icon Appears.

Actual Results:
Icon Does Not Appear.

Does the problem occur:
Every time? Or how often? Yes
In other games? Yes
In other user accounts? Yes
On other computers? Not able to test

When does the problem NOT occur?
For icons attached to atoms with icon and icon_state variables.

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
This method worked in BYOND 512 and all versions prior.

Workarounds:
N/A.
Lummox JR resolved issue with message:
Using the icon() proc or new/icon() to isolate a specific icon state didn't work for accented characters because the icon wasn't converted on load.