sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Creating files with non-ASCII letters

    Scheduled Pinned Locked Moved Developers' Forum
    1 Posts 1 Posters 581 Views 1 Watching
    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.
    • A Offline
      azuby
      last edited by

      Moin moin forum,

      short: Layers/Materials with i.e. "ä", "ß" in their names, accessing them via Ruby script, creating File with these names. "läiär" is saved as "läiär"

      I've parsed the Strings byte by byte and got
      "108 195 164 105 195 164 114" where "195 164" is the "ä"
      I've also used UI.savepanel and UI.openpanel to get files with the given name from file system - with same result:
      "108 195 164 105 195 164 114"

      For saving the files I use File.open

      I'm working with Win XP pro.

      Has anyone an idea how to solve this problem? I think a mapping could be useful, but do not know which sequence I should map "195 164" to.

      azuby

      *error initus :: Blocks | CurrentDate | d/Code | extensionmanager | FFlipper | HideEdges | MeasuredArea | ModelHistory | PluginsHelp | PronButton | SAWSO | SCP | SU²CATT

      Bad English? PM me, correct me. :smile:**

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Buy SketchPlus
      Buy SUbD
      Buy WrapR
      Buy eBook
      Buy Modelur
      Buy Vertex Tools
      Buy SketchCuisine
      Buy FormFonts

      Advertisement