This repository was archived by the owner on Apr 24, 2019. It is now read-only.
Description MemoPlayer knows how to display arabic characters. XML parsing that contains arabic character works well too. Browser.set/getCooky() works well.
Unfortunately, Browser.print() function doesn't work with arabic characters. Browser.get/setRecord doesn't work too.
Here is the VRML code to test the pb :
Group {
children [
DEF MESSAGE Message { url "Board" }
DEF SCRIPT Script {
eventIn MFString data_changed
field SFString title "@[Title:]"
url "javascript:
function initialize () {
Browser.sendMessage('Board', 'INIT', title, 'setCooky', 'setRecord');
Browser.print('title = '+title);
}
function data_changed () {
if (data_changed[0] == 'LSK') {
Browser.setCooky('title', title);
Browser.sendMessage('Board', 'INIT', Browser.getCooky('title'), 'DONE', 'setRecord');
} else if (data_changed[0] == 'RSK') {
Browser.setRecord('title', title);
Browser.sendMessage('Board', 'INIT', Browser.getRecord('title'), 'setCooky', 'DONE');
}
}
"
}
]
ROUTE MESSAGE.data_changed TO SCRIPT.data_changed
}
Reactions are currently unavailable
MemoPlayer knows how to display arabic characters. XML parsing that contains arabic character works well too. Browser.set/getCooky() works well.
Unfortunately, Browser.print() function doesn't work with arabic characters. Browser.get/setRecord doesn't work too.
Here is the VRML code to test the pb :
Group {
children [
}