vyper icon indicating copy to clipboard operation
vyper copied to clipboard

'€' is not an allowed string literal character

Open hedgar2017 opened this issue 2 years ago • 1 comments

Version Information

  • vyper Version (output of vyper --version): 0.3.2

What's your issue about?

 Vyper M0B0 0.3.2 V-   INVALID tests/vyper/external/strings/unicode_escapes.vy vyper-bin//vyper-0.3.2 error: vyper.exceptions.InvalidLiteral: '€' is not an allowed string literal character
  contract "tests/vyper/external/strings/unicode_escapes.vy", function "threeBytesUTF8", line 14:11 
       13 def threeBytesUTF8() -> String[100]:
  ---> 14     return "aaa\u20ACaaa" # euro
  -------------------^
       15

[24755] Failed to execute script 'vyper_compile' due to unhandled exception!

hedgar2017 avatar Apr 16 '22 10:04 hedgar2017