'Use special characters in enum in solidity

Does someone knows how to use special characters in enum in solidity? Something like

enum TipoMonstro{
    Raro,
    Enganação
}

It does not compile due to the "çã". The solidity documentation wasn't helpful at this point. Thx!



Solution 1:[1]

This will depend on the solidity version you are using. Please, check this post. https://ethereum.stackexchange.com/questions/97173/do-solidity-smart-contract-symbols-support-unicode/97174

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 NuMa