jeaye/stdman

Non-printing characters in some manpages

Opened this issue · 0 comments

I've noticed that some manpages have non-printing characters in them; for instance, std::rand has this line (should be 0):

Returns a pseudo-random integral value between拷,拷- and RAND_MAX (0 and RAND_MAX

According to grep, there's around 200 files that have the characters, which, comparing to the website versions, seem to almost always be characters in <span> tags, such as 0, a ;, a (, or whitespace, like the below:

  1. whitespace (I think)

    value of type Ret.ý¿¿½£¬

  2. ;

    bool pred()ý¿¿½£­

  3. (

    pointer decltypeý¿¿½£¬std::declval<Iter&>().operator->()) if valid,

Some unicode characters also don't seem to be handled correctly:

std::cout << "islower('拷,', C locale) returned "

It'd be nice if all of these could be parsed and rendered properly.