Ensure we don't encode trailing 'L'
Merge pull request #19 from faizkhan00/tomas-3-sp

Tomas 3 sp