Skip to content

Presenting other scripts (e.g., Arabic) #813

Answered by jodeleeuw
lauderui asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @lauderui,

This should be possible. I know that there is a sizable contingent of Japanese researchers using jsPsych. I believe the key is to use the appropriate <meta> tags in the <head> section of the HTML file to let the browser know how the text is encoded. For example, if you using Arabic you may need to use a <meta> tag that specifies the document character set is UTF-8 encoded:

<meta http-equiv='content-Type' content='text/html; charset=UTF-8'/>

I don't have firsthand experience with this, so please let me know if you run into any issues with a different script and we'll figure out what's necessary. This would be a great addition to our documentation.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jkhartshorne
Comment options

Answer selected by jodeleeuw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants