Ingreso rápido:  

Forum: VirtualDJ Technical Support

Tema: param_cast 'text' n not working in utf-8
NicotuxHome userMember since 2014
about param_cast text :
extra integer used to limit size...
param_cast 'text' n

this size is not string length() but size of string
as the string is in utf8 (1byte up to 4bytes) the limit is 1*n down to n/4 of the really wanted string

i.e.:
get_text '123456789Ö' & param_cast text 12 GIVES "123456789Ö"
get_text '123456789Ö' & param_cast text 10 GIVES "123456789?"
get_text "ÄËÏÖÜŸ7890" & param_cast text 10 GIVES "ÄËÏÖÜ"
 

Mensajes Mon 08 Jun 20 @ 1:47 am
NicotuxHome userMember since 2014
in addition
<text fontsize="40" font="FixedSys" color="[COLOR]" action="1234567890" align="left" valign="top" important="true"/>
action text format....
depending on y="yy" position does not render the same


 

Mensajes Tue 09 Jun 20 @ 6:18 am
NicotuxHome userMember since 2014
Don't see any message from alanwalker1234hdz (may be restricted)
But such refresh about such VDJ forum posts are good ideas :^}
 

Mensajes Fri 09 Jul 21 @ 5:37 am
AdionPRO InfinityCTOMember since 2006
Just a spam post.
The original issue should have been fixed long ago though
 

Mensajes Fri 09 Jul 21 @ 6:10 am
NicotuxHome userMember since 2014
Nice, I wasn't aware both were fixed ^^
 

Mensajes Fri 09 Jul 21 @ 6:35 am