Try to do something like this:
uses LCLProc;
var
p :PChar;
unicode, charlen, n :integer;
c :string;
begin
p := PChar('ãâáàä');
n := 1;
repeat
unicode := UTF8CharacterToUnicode(p, charlen);
c := UTF8Copy(p, 1, 1); // current character
if c = 'ä' then ShowMessage(IntToStr(n));
Inc(p, charlen);
Inc(n);
until (charlen = 0) or (unicode = 0);
end;