Show all posts by user
Introduce yourselves
Page 1 of 1 Pages: 1
Results 1 - 2 of 2
In the source code file ngx_string.c. There is a piece of code in the function ngx_utf8_decode as follow:
} else if (u >= 0xc2) {
//leading byte = 110xxxxx,
u &= 0x1f;
valid = 0x7f;
len = 1;
}else
as i know, the leading byte of UTF-8 should be one of kind as follow :
on byte encoding : leading byte = 0xxxxxx
two bytes encoding : leading byt
by
zengkui
-
New Member Introductions
ngx_int_t
ngx_atofp(u_char *line, size_t n, size_t point)
what does the parameter n mean?
the length of line or the return value?
by
zengkui
-
New Member Introductions