.NETCore (modern) project, cannot write file with Windows-1252 encoding

I cannot upload any photo or .zip file :frowning:

How to reproduce:

  1. Create new project with Compatibility = Windows, Language = VB
  2. Add Write Text File activity
  3. On properties pane:
    Encoding = “Windows-1252”
    Text = “Hello”
    Filename = “Test.txt”
  4. Run or Debug, and you will see :

Write Text File: One or more errors occurred. (‘Windows-1252’ is not a supported encoding name. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method. (Parameter ‘name’)) (‘Windows-1252’ is not a supported encoding name. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method. (Parameter ‘name’)) (‘Windows-1252’ is not a supported encoding name. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method. (Parameter ‘name’))

3 Likes