Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Problem saving Strings.hpp

    Firmware developers
    2
    3
    303
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MichaelM
      MichaelM last edited by

      Hello,

      I installed the development tools.
      Built "Release-5.0i-7.0i"
      Uploaded the resulting bin to the PanelDue (7").
      Verified that it runs.

      I want to add a Setup option to configure the Wi-Fi of the connected Duet WiFi board.

      When editing the Strings.hpp to include a new string "CSTRING wifiSettings" and adding the text in each of the languages (English for now in all languages). When I try to save the file I get the following error dialog

      "Save could not be completed"

      "Reason""
      "Some characters cannot be mapped using "Cp1252" character encoding".

      I am not using any special (non-ASCII) characters.

      Does anyone know what I am doing wrong?

      Thanks,
      Mike

      1 Reply Last reply Reply Quote 0
      • dc42
        dc42 administrators last edited by

        Switch your editor to use UTF8 encoding, not cp1252.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • MichaelM
          MichaelM last edited by MichaelM

          I was afraid to change encoding in case it broke something. But with your recommendation I will do so.
          That did the trick.
          Thanks.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA