Dave Coventry <[email protected]> schrieb am Fr., 18. Juni 2021, 10:10:
> Hi Reini, > > Still trying to read MTEXT. > > If I get the length of the text entity: > > Dwg_Entity_MTEXT *text = obj->tio.entity->tio.MTEXT; > size_t len=strlen(text->text); > fprintf(stderr, "mtext length is:%d\n",len); > > it gives me a length of 1. > > if the MTEXT entity is '\A1;1700', then the length should be 8. > Yes, the string would be "\\A1;1700", so length 8 > Or is the backslash still messing with the results? > >
