autocomplete results after parseJSON (umlauts)
Hi everyone
I've been working with the autocomplete widget and it really is easy to handle. But I have a problem with the results shown after I use the following function:
- $(function() {
- var availableTags = $.parseJSON('<?php echo json_encode($location_drop); ?>');
- $( "#location_tags" ).autocomplete({
- source: availableTags
- });
- });
The results in the php variable ($location_drop) appear, but the umlauts are shown in html character entities.

I've already checked the output of "json_encode($location_drop)" and the results are correct, so the umlaut problem is because of
$parseJSON. The documents are all set to UTF-8.
I hope somebody knows what's the problem here.
Thanks in advance