Control character encode after using jquery autocomplete

Remove the filter wptexturize, which is what’s causing your encoding issue:

remove_filter( 'the_title', 'wptexturize' );
while ( $loop->have_posts() ) {
    // Your code
}