873a874
> 		      || (ch == '=')  /* = cannot occur as part of encoded word */
885c886
< 		  hibit--;
---
> 		  if (ch & 0x80) hibit--;
890a892,897
>         /* Remove encoded spaces at the end. */
> 	while(p>s && (*(p-1) == ' '))
> 	{
> 	   d--; p--;
> 	}
> 
