I don't think you're following me. If you detect a letter that's either an I or an l, then just print on your display the one that looks closest to both. That is, just display a lower-case L in both cases. It'll look just as much like a capital I as it did on the empeg, unless both the capital I and the lowercase L on your display are serifed.
_________________________
Bitt Faulk