Commits (4)
-
Rob Swindell authored
Apparently 4000 characters isn't enough for everyone to describe their files in vibrant colors and "graphics". :-)
891f8c56 -
Rob Swindell authored
strip_cp437_graphics() is like strip_exascii(), except it'll leave the foreign language characters and math symbols intact (removing just the common "block" and "line-drawing" characters). DEL (0x7F) is a control character too, so have strip_ctrl() remove it.
a710f6ff -
Rob Swindell authored
If the extended description is UTF-8, first convert it to CP437.
067556d7 -
Rob Swindell authored
When no file description was provided (e.g. blind/batch file uploads), I noticed that the short file description (summary) could be set to "(null)". This problem was introduced in commit bc7030d3 with the sbbsfile.des creation and post-processing support. I also noticed that the extended description processing in sbbs_t::uploadfile() was not entirely consistent with other methods of adding/uploading files. Let prep_file_desc() do its just of processing the extended description into a suitable short description/summary (including truncation).
baccf391
Showing