H16 still can't draw non-english file name :(

   2871   5   1
User Avatar
Member
620 posts
Joined: Nov. 2013
Offline
Maybe this would be supported in H17….

Attachments:
Non English File Name.png (35.2 KB)

User Avatar
Member
1743 posts
Joined: March 2012
Offline
Can you file a bug for this with an example filename that doesn't display? https://www.sidefx.com/bugs/submit/ [sidefx.com]
Writing code for fun and profit since... 2005? Wow, I'm getting old.
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
User Avatar
Member
620 posts
Joined: Nov. 2013
Offline
ndickson
Can you file a bug for this with an example filename that doesn't display? https://www.sidefx.com/bugs/submit/ [sidefx.com]

I have submitted it. The non-English character is not in plan.
User Avatar
Member
1743 posts
Joined: March 2012
Offline
Can you post one of the filenames so that I can test it?

It might be something relatively simple, like that the font used for the UI just doesn't have those characters, in which case, it might be possible to fall back to a font that does have those characters if the default font doesn't. It might be more complicated, but it's worth checking.
Writing code for fun and profit since... 2005? Wow, I'm getting old.
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
User Avatar
Member
1743 posts
Joined: March 2012
Offline
Nevermind. The 8-bit character Windows API functions don't support UTF-8, so it's a big change to get everything in Houdini to support UTF-8 filenames on Windows. Everything that calls into Windows to access files needs to convert to UTF-16 first. Linux may work better for non-ASCII character sets, since they went straight to UTF-8, instead of UTF-16. The font may also be an issue, but fixing that won't improve much on Windows.
Writing code for fun and profit since... 2005? Wow, I'm getting old.
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
User Avatar
Member
620 posts
Joined: Nov. 2013
Offline
ndickson
Nevermind. The 8-bit character Windows API functions don't support UTF-8, so it's a big change to get everything in Houdini to support UTF-8 filenames on Windows. Everything that calls into Windows to access files needs to convert to UTF-16 first. Linux may work better for non-ASCII character sets, since they went straight to UTF-8, instead of UTF-16. The font may also be an issue, but fixing that won't improve much on Windows.

Hi ndickson,
Thank you for reply!

I find the non Ascii file name is just have promblem for DISPLAY not for function.
I can select the file that display blank and them worked well.

Since Houdini UI has been transfered to QT, all unicode thing is OK except displaying file name. Maybe there is some simple method to fix it?

sample scene and non-ascii png are attatched.
Thanks!

Attachments:
sample.rar (20.7 KB)
sample.png (471.5 KB)

  • Quick Links