★ - Not displayed

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
nerdweed
Posts: 648
Joined: 25 Feb 2012 07:47
Location: XY64 Latest Beta , Win 11, 96dpi, 100%

★ - Not displayed

Post by nerdweed »

★ character is not shown in script menu's, UDC's and InputSelect

Is it not supported or am I missing something

admin
Site Admin
Posts: 66360
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: ★ - Not displayed

Post by admin »

Works here. :?

nerdweed
Posts: 648
Joined: 25 Feb 2012 07:47
Location: XY64 Latest Beta , Win 11, 96dpi, 100%

Re: ★ - Not displayed

Post by nerdweed »

I get this ★ for each ★ in script (and ? in UDC though in the UDC config window the ★ is displayed properly)

May be the fonts. Tried Segoe instead of Tahoma. No luck
Last edited by nerdweed on 18 May 2014 10:02, edited 1 time in total.

admin
Site Admin
Posts: 66360
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: ★ - Not displayed

Post by admin »

That's utf8 for ★. Weird.

nerdweed
Posts: 648
Joined: 25 Feb 2012 07:47
Location: XY64 Latest Beta , Win 11, 96dpi, 100%

Re: ★ - Not displayed

Post by nerdweed »

I am trying to get nearer. I tried adding as a caption for Fav folder and it appears there, but not through a script.

Current Standings
1. Input Select - Works if I enter it directly in the button, doesn't work if loaded from file
2. UDC - Doesn't work in menu but works in UDC config (changes to ? as soon as I click on other entry)
3. Script menu - Works if I enter it directly in the CTB button, doesn't work if loaded from file

So, it appears to be encoding of the file.

Edit: It was the encoding. I will get my scripts adjusted. How can this be changed for UDC.dat

binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: ★ - Not displayed

Post by binocular222 »

Save your file as UTF 16-LE with BOM
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

nerdweed
Posts: 648
Joined: 25 Feb 2012 07:47
Location: XY64 Latest Beta , Win 11, 96dpi, 100%

Re: ★ - Not displayed

Post by nerdweed »

I can't do that to UDC.dat since it is binary

I tried deleting it, so that XY could recreate it, but it still didn't work. Tried creating a new UDC as well - deleted UDC.dat and restarted without saving as well as ::fresh

Any other pointers

nerdweed
Posts: 648
Joined: 25 Feb 2012 07:47
Location: XY64 Latest Beta , Win 11, 96dpi, 100%

Re: ★ - Not displayed

Post by nerdweed »

So, ★ is displayed in the menu's generated from UDC. But it is not displayed, if it is set as a caption. Same for Favorites - it is displayed in Favorite Toolbar button not in the menu bar.

So, I can rule out encoding now.
Stars.png
The ★ in captions turns to ? as soon as I click on other UDC
To see the attached files, you need to log into the forum.

admin
Site Admin
Posts: 66360
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: ★ - Not displayed

Post by admin »

If you are talking about the main menu: It cannot display Unicode characters.

nerdweed
Posts: 648
Joined: 25 Feb 2012 07:47
Location: XY64 Latest Beta , Win 11, 96dpi, 100%

Re: ★ - Not displayed

Post by nerdweed »

Thanks Don.

Post Reply