+
+ // increase line lenght
+ l++;
+
+ } else if(is_utf8(c)) {
+
+ // add char to line
+ (text->expand)(text, c);
+
+ // if utf-8 char > 1 byte add remaing to line
+ for(i = 0; i < length_utf8(c) - 1; i++) {
+ c = fgetc(input);
+ (text->expand)(text, c);
+ }
+
+ // increase line length
+ l++;