Problem with centering the text!

How can I center the text if I use chars like ‘ì’,‘š’,‘è’,‘ù’ etc. I tried use code from NEHE tutorial no.14, but It doesn’t work.With normal chars It works, but with chars above It doesn’t work.
Thanks for answer

does it even display those characters at all. If it doesnt then you will need to create your own bitmap font. If they do display then I would try the tutorial at

[This message has been edited by mdog1234 (edited 02-24-2003).]

This looks like a problem of you using either a MBC code page or Unicode string, and using strlen to get the length. For Unicode strings use wcslen. If using MBC, use _mbslen or _mbstrlen. The MBC stuff assumes you are using Windows, otherwise it is probably Unicode.