Announcement

Collapse
No announcement yet.

Print/Write Special characters

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Are the characters in the same font as in Workshop?
    Mark

    Comment


    • #17
      Mine isn't showing the buttons or the strings, I think it's maybe the type of screen I'm using.

      Comment


      • #18
        I got it right and it's showing all the characters, I just want to find out how can I use that and print it to a .txt file?

        Comment


        • #19
          The strings object does that, in a way, when you create predefined strings. Have a look at the .txf file and the PrintDiskUnicode() routine.

          The .txf file is not quite the same as can be read by windows.

          Windows, and other OSes, need to be told the format the file is in so it knows how to interpret the contents. This is because there are several ways to put unicode characters in a text file.

          Workshop uses pure unicode as it is easiest to get the nth character from, and other things.

          To tell windows to use the same format as Workshop uses you need to insert 0xFEFF at the start of the file, then each character needs to take up two bytes at a time. If you were saving a notepad this way to would select Encoding as UNICODE.
          Mark

          Comment

          Working...
          X