How to handle ASCII error in move language

49 Views Asked by At

I have a simple move file containing this simple code

address 0x2 {
    module Coin {
        struct Coin {
            value:u64,
        }
    }
}

But when I try to publish it, it gives me this strange error

    error[E01001]: invalid character
  ┌─ src/modules\coin.move:1:14
  │
1 │ address 0x2 {
found when reading file. Only ASCII printable characters, tabs (\t), and line endings (\n) are permitted.
0

There are 0 best solutions below