Results 1 to 4 of 4

Thread: [RESOLVED] Displaying Greek beta symbol in TreeView icon text (read from disk)

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2022
    Posts
    83

    Resolved [RESOLVED] Displaying Greek beta symbol in TreeView icon text (read from disk)

    I was able to paste a Greek beta symbol from the MS Windows Character Map (Microsoft Sans Serif) directly into code, and can compile, and run and the symbol shows when the text string is used for a Treeview icon's text. However, when I loop through the Treeview structure, and save all the icon text strings to an ascii text file, then load the text file and fill in the strings for each Treeview icon, there is a strange symbol showing for the Greek beta.

    What is the best practice for showing a Greek symbol in a Treeview icon's text string, saving this string to disk (ascii text), reading the file, and showing the Greek symbol in the respective Treeview icon's text? I do this all the time with HTML, but I think it's a UTF-16 issue(?).

    Is there a switch setting for a Treeview that needs to be set to recognize UTF-16 text string characters?
    Last edited by pel11; Jun 27th, 2022 at 05:05 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width