Open ZelphirKaltstahl opened 7 years ago
Hello Zelphir,
Thanks for the detailed report. I don't know for sure what the cause of the problem is, but it seems to be related to CHICKEN (I can reproduce the issue with the latest version, 4.12.0). I've created a ticket in CHICKEN's bug tracker: http://bugs.call-cc.org/ticket/1374 .
All the best. Mario
Thanks for that. I am not sure I am using the utf8
extension correctly, as I do not fully understand how use
and require-extension
and import
work yet. However, if you saw no mistake there, maybe I did it right.
I am running a little tutorial project with
awful
, outputting Chinese characters using SXML. For example as follows:I am requiring the utf8 extension:
Then one example part goes as follows:
Where
render-hanci
is:("hanci" meaning "word" and "hanzi" meaning character.) Where
utf8-string->list
is:This is a procedure, which I created to check what the single characters of the list are and to see if my understanding of how to handle utf8 is correct. The characters being displayed when this code runs are the correct Chinese characters. However, when I check on the website, I get wrong characters. To show what I mean I will add a screenshot:
I can post my whole code (here it is), if needed in a repository. However, I'd like to know, if there is any reason, why
awful
might/cannot not support unicode characters out of the box in SXML expressions.Info
Chicken Scheme version: