GAP potentially puts linebreaks between the bytes forming a UTF-8 character #5544
Open
Description
opened on Dec 15, 2023
Consider the following situation:
gap> SizeScreen([80]);;
gap> Display(" →→→→→→→→→→→→→→→→→→→→→→→→→→→→");
→→→→→→→→→→→→→→→→→→→→→→→→→�\
�→→
Observed behaviour
GAP puts a linebreak between the bytes forming the UTF-8 character →
.
In particular, if this happens inside the output in a .tst
file, the file is not a valid UTF-8 file anymore.
Expected behaviour
The linebreak is inserted before or after the UTF-8 character.
I expect that this is a known bug, but I could not find an open issue for this.
Copy and paste GAP banner (to tell us about your setup)
┌───────┐ GAP 4.13dev built on 2023-12-15 03:25:31+0100
│ GAP │ https://www.gap-system.org
└───────┘ Architecture: x86_64-pc-linux-gnu-default64-kv9
Configuration: gmp 6.2.1, GASMAN, readline
Loading the library and packages ...
Packages: AClib 1.3.2, Alnuth 3.2.1, AtlasRep 2.1.7, AutPGrp 1.11, Browse 1.8.21, CaratInterface 2.3.5, CRISP 1.4.6, Cryst 4.1.26, CrystCat 1.1.10, CTblLib 1.3.6, curlInterface 2.3.2, FactInt 1.6.3, FGA 1.5.0, Forms 1.2.9,
GAPDoc 1.6.6, genss 1.6.8, IO 4.8.2, IRREDSOL 1.4.4, LAGUNA 3.9.6, orb 4.9.0, Polenta 1.3.10, Polycyclic 2.16, PrimGrp 3.4.4, RadiRoot 2.9, recog 1.4.2, ResClasses 4.7.3, SmallGrp 1.5.3, Sophus 1.27, SpinSym 1.5.2,
StandardFF 1.0, TomLib 1.2.9, TransGrp 3.6.5, utils 0.84
Try '??help' for help. See also '?copyright', '?cite' and '?authors'
Metadata
Assignees
Labels
No labels
Activity