unicode, setting a text inside RB
Dec 26, 2008 19:52:34 GMT -5
Post by davos1 on Dec 26, 2008 19:52:34 GMT -5
Hello,
when I set a variable like:
alfabeto$= "āīūṅ"
an unsupported character error appears.
I realize that there are some ways to work around like:
1) use html and the decimal part, or
2) use a text box to get the unicode letters, there is no error inside BR and RB assign the variable correctly:
textbox #box, text$
text$ = #box contents$()
print text$
dim letras$(40)
for ciclo= 1 to len(text$)
letras$(ciclo)=left$(text,ドルciclo)
b$=text$ #here the variable is set and printed with out any problem
print b$
print letras$(ciclo)
next ciclo
3)the old fashion way, but it works:
read letter$
data 209,241
a$=a$+chr$(letter) #here the variable is set and printed with out any problem
print a$
4)reading from a file in a variable and printing the variable.
but, is there a way to set directy an unicode string in RB in the form
alfabeto$= "āīūṅ" ?
thanks a lot
when I set a variable like:
alfabeto$= "āīūṅ"
an unsupported character error appears.
I realize that there are some ways to work around like:
1) use html and the decimal part, or
2) use a text box to get the unicode letters, there is no error inside BR and RB assign the variable correctly:
textbox #box, text$
text$ = #box contents$()
print text$
dim letras$(40)
for ciclo= 1 to len(text$)
letras$(ciclo)=left$(text,ドルciclo)
b$=text$ #here the variable is set and printed with out any problem
print b$
print letras$(ciclo)
next ciclo
3)the old fashion way, but it works:
read letter$
data 209,241
a$=a$+chr$(letter) #here the variable is set and printed with out any problem
print a$
4)reading from a file in a variable and printing the variable.
but, is there a way to set directy an unicode string in RB in the form
alfabeto$= "āīūṅ" ?
thanks a lot