Skip to main content
C.Cella
Inspiring
March 1, 2025
Answered

Are unicode characters safe?

  • March 1, 2025
  • 1 reply
  • 330 views

One question for the SDK veterans or the team.

In one of my codes I want to append a unicode character, I use it in "MaskName"


U+26A1 High Voltage

In General are unicode characters safe or best to avoid them?


.

Correct answer johnrellis

The LR SDK fully supports Unicode characters. The only outstanding SDK bug I've seen reported here:

 

Conversion between upper- and lower-case for non-Latin characters on Windows:

https://community.adobe.com/t5/lightroom-classic-bugs/sdk-lrstringutils-is-broken-windows/idi-p/13483110

 

That can be worked around using a pure-Lua Unicode library.

 

There are a couple of bugs in LR (not specific to the SDK) with non-Latin characters: sorting keywords  not ignoring case (probably the same root cause as the bug above); exported catalogs moved from Windows to Mac or vice versa not handling folder names containing non-Latin characters properly.

1 reply

johnrellis
johnrellisCorrect answer
Genius
March 1, 2025

The LR SDK fully supports Unicode characters. The only outstanding SDK bug I've seen reported here:

 

Conversion between upper- and lower-case for non-Latin characters on Windows:

https://community.adobe.com/t5/lightroom-classic-bugs/sdk-lrstringutils-is-broken-windows/idi-p/13483110

 

That can be worked around using a pure-Lua Unicode library.

 

There are a couple of bugs in LR (not specific to the SDK) with non-Latin characters: sorting keywords  not ignoring case (probably the same root cause as the bug above); exported catalogs moved from Windows to Mac or vice versa not handling folder names containing non-Latin characters properly.

C.Cella
C.CellaAuthor
Inspiring
March 1, 2025

Thanks @johnrellis

 

Funny thing : I had actually considered a "make all upper case" code for all CorrectionName or or MaskName.

 

 

 

 

Guess it will