You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.
MarkdownView internally uses loadDataWithBaseURL and passes "UTF-8" for encoding (line). If you want to load a UTF-8 string you could use markdownView.loadMarkdown("##こんにちわ"). If you have any issue loading utf8 characters let me know.
Thanks a lot. Now it works. Turn out I was using the old jar file.
Billy
MarkdownView internally uses loadDataWithBaseURL and passes "UTF-8" for
encoding (linehttps://github.com/falnatsheh/MarkdownView/blob/master/MarkdownView/src/us/feras/mdv/MarkdownView.java#L136).
If you want to load a UTF-8 string you could use
markdownView.loadMarkdown("##�$B$3$s$K$A$o�(B"). If you have any issue loading utf8
characters let me know.
�$B!=�(B
Reply to this email directly or view it on
GitHubhttps://github.com//issues/4#issuecomment-18176921
.
I wonder if MarkdownView can provide a constructor like this that one could use to display unicode?
loadDataWithBaseURL()
For example, in WebView one can do:
mywebView.loadDataWithBaseURL(null, "some unicode string", "text/html", "utf-8", null);
I think we would have to replace "text/html" with something else in case of markdown but I'm not sure which...
The text was updated successfully, but these errors were encountered: