Skip to content
This repository has been archived by the owner on Apr 24, 2019. It is now read-only.

Encoding error with arabic characters #5

Open
cyndie opened this issue Mar 17, 2011 · 0 comments
Open

Encoding error with arabic characters #5

cyndie opened this issue Mar 17, 2011 · 0 comments

Comments

@cyndie
Copy link

cyndie commented Mar 17, 2011

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

}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant