<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<translations>
<translation>
<from><![CDATA[This player is already registered]]></from>
<to><![CDATA[Este reproductor ya está registrado]]></to>
</translation>
<translation>
<from><![CDATA[Registered to]]></from>
<to><![CDATA[Registrado a]]></to>
</translation>
<translation>
<from><![CDATA[Player can only be registered to one account at a time]]></from>
<to><![CDATA[El jugador solo puede ser registrado para una cuenta a la vez]]></to>
</translation>
<translation>
<from><![CDATA[If you would like to connect it to another account it has to be removed from the above account first]]></from>
<to><![CDATA[Si desea que la una a otra cuenta que tiene que ser removido de la cuenta por encima de primera está]]></to>
</translation>
<translation>
<from><![CDATA[Select 'ok' to exit this screen.]]></from>
<to><![CDATA[Seleccione "Aceptar" para salir de esta pantalla.]]></to>
</translation>
</translations>
$ord_string = "";
for( $i = 0; $i < strlen( $translation['t_translated'] ); $i++ ) {
$ord_string .= ord( $translation['t_translated'][$i] ) . ";";
}
Function convertOrdToChar( in_string as String ) as String
' create a copy to work with
tmp_string = in_string
out_string = ""
while true
if tmp_string = "" then
return out_string
endif
cutoff = instr( 1, tmp_string, ";" )
print "cutoff: " + itostr( cutoff )
ord = val( left( tmp_string, cutoff ) )
print "ord: " + itostr( ord )
out_string = out_string + chr( ord )
print "out_string: " + out_string
tmp_string = mid( tmp_string, cutoff + 1 )
print "tmp_string: " + tmp_string
end while
End Function
"RokuKevin" wrote:
We have not added unicode (utf-8 or utf-16) support to BrightScript yet... There may be a few places where BrightScript assumes utf-8 (like in the manifest file), but the parser is not one of them.
Displaying multi-byte characters like chinese in BrightScript strings is not possible on the Roku box at this time.
--Kevin
"RokuKevin" wrote:
We have not added unicode (utf-8 or utf-16) support to BrightScript yet... There may be a few places where BrightScript assumes utf-8 (like in the manifest file), but the parser is not one of them.
Displaying multi-byte characters like chinese in BrightScript strings is not possible on the Roku box at this time.
--Kevin