-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Table and Figure caption not showing Bengali characters #16
Comments
Please include your session info: devtools::session_info('bookdown') |
|
You are using Windows with an English locale. For best support of Bengali, you probably need to change your system locale to Bengali (from the Control Panel). |
Thanks for the tip. I would believe this would solve the issue. Unfortunately, Bengali is not there under the Language for non-Unicode programs. |
Then I'm afraid I cannot help. Sorry. |
Totally understand. Thank you so much. For now I have to resort to LaTeX + Sweave for my upcoming project until that time when it will be easily accessible to other languages. |
I am testing the bookdown-demo-master to see if Bengali books can be written with bookdown. One issue I see is the caption of Tables and Figures. Non-English characters do not show up in the produced html file.
{r nice-tab, tidy=FALSE}
knitr::kable(
head(iris, 20), caption = 'The বাংলায় ক্যাপশন হচ্ছে কিনা পরীক্ষা করছি!',
booktabs = TRUE
)
When I run this, the output only shows "The !" in the caption of the table. That is it ignores the Bengali text completely. This is happening with Figure captions as well. Is there anything that I need to change to fix this? Thank you.
The text was updated successfully, but these errors were encountered: