$ fossil diff --from trunk src/comformat.c
@@ -188,8 +188,11 @@
maxChars = lineChars;
for(;;){
int useChars = 1;
char c = zLine[index];
+ if( maxChars==1 && (c&0xC0)==0xC0 && lineChars!=1) {
+ break;
+ }
if( c==0 ){
break;
}else{
if( origBreak
On Thu, Jun 15, 2017 at 3:15 AM, wrote:
> Bug
>
> comment_print_legacy function destroys utf8 characters when wrapping
> text.
>
> https://www.fossil-scm.org/index.html/artifact?ln=302-
> 307=f570981a7bb58eb3
> src/comformat.c : Line 302-307
>
For those whose mailers
Bug
comment_print_legacy function destroys utf8 characters when wrapping text.
https://www.fossil-scm.org/index.html/artifact?ln=302-307=f570981a7bb58eb3
src/comformat.c : Line 302-307
(unsigned char) c: bit right shift 7: 0 is ascii, 1 is utf8.
(unsigned char) c: bit right shift 6: 0b11 is
3 matches
Mail list logo