How to add hook to the_title() and get_the_title()

The filter for the_title functions is this one:

add_filter( 'the_title', 'f711_title_filter' );

function f711_title_filter( $title ) {

    return utf8_decode( $title );

}

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)