Replies: 2 comments 4 replies
-
I'm not sure what the question is. Do you mean if there's enough embedding chars that the level hits the max? Panic sounds very wrong...
That's just to reduce copy/paste. |
Beta Was this translation helpful? Give feedback.
4 replies
-
|
If your question is whether the resolved levels can go above the max (by one or two), that is correct. That's why the max is 125, not 127. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am not familiar with C, and I have been having trouble reading and following the code.
How does the library deal with higher embed level than 125? The rust library,
unicode-bidisimply panics. As fast as I can tell, this is the relevant part of the codebase:But I do not really understand why the
DetermineBaseLevelfunction is getting called, as since the loop starts and ends with the same link it should skip the loop and return the defaultValue? this doesn't seem right. Below is the body of the function.what am I missing here? Is the overflow dealt with in some other place?
(slight aside, why the
goto? why not justreturn defaultLevelimmediately?)Beta Was this translation helpful? Give feedback.
All reactions