Re: unicode character has 5 digits

Enno Rehling <[email protected]> Tue, 8 Jul 2025 10:41:27 +0200
Newsgroups gmane.comp.lib.fox-toolkit.user
Message-ID <[email protected]>
I believe the \u escape sequence is strictly defined for 16-bit unicode 
characters only. try using \U:

	char *emoji = "\U0001F92A";

Enno.

On 7/8/2025 03:27, John Selverian wrote:
> I’ve used Unicode successfully in the past. For instance for a 
> subscripted ‘t’ I used:
> 
> UNICODE_SUBSCRIPT_t_SYMBOL = unescape("\\u209c");
> 
> I want to now use a subscripted ‘y’ and found this:
> 
> IE05F
> 
> CYRILLIC SUBSCRIPT SMALL LETTER U
> 
> <sub> 0443 y
> 
> But this code:
> 
> unescape(\\u1E05F <file://u1E05F>)
> 
> Does not work. How do I encode a Unicode character with a 5 digit code?
> 
> Kind regards,
> 
> js
> 
> 
> 
> _______________________________________________
> Foxgui-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/foxgui-users



_______________________________________________
Foxgui-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/foxgui-users