Encoding in VSCode

Can anyone tell me how to check in Xcode if my code is UTF-8 encoded?

We do not support Xcode. We do support VSCode. Did you mean that?

In VSCode, you can see the current file encoding in the status bar on the bottom right:

To change the encoding, hit Ctrl+Shift+P, type change file encoding, select save with encoding and choose the encoding you would like.

Hope this helps,

1 Like

3 posts were split to a new topic: On UTF8 encoding