I'm working on a Solidity ERC20 Smart Contract that needs verbiage from latin based countries. I'm using Remix ETH online IDE
How Can I add special characters without the compiler yelling at me?
currently:
string public responsavel = "Estado de SÃO PAULO Coçar";
this errors as: ParserError: Invalid character in string.
Essentially it doesn't like ç
and Ã
, but I need those as well as future é
, ô
characters and such.
Thanks in advance
You can use the UTF-8 sequence
string public responsavel = "Estado de S\xC3\x83O PAULO Co\xC3\xA7ar";