GtkScintilla::get_char_at

int get_char_at(int pos);

Return the character that is located at the specific position.

// echo the current character at the cursor position.
$position = $scintilla->get_current_pos();
$character = $scintilla->get_char_at($position);