check this out
http://embed.plnkr.co/SdYFjmpYsMKvRT8iKHZH/
On Monday, April 18, 2016 at 11:20:37 AM UTC-7, Tito wrote:
>
> are you serving your page using a web server, if so what kind of web
> server and do you have control of that server?
> sounds like you need to enable some sort of encoding on your server
> configuration
>
> such as utf-8 etc
>
> On Monday, April 18, 2016 at 8:00:38 AM UTC-7, Andrei Zhitkov wrote:
>>
>> Hello everybody!
>>
>> I have a standalone Web app with a JSON file storing all my data. Here's
>> a relevant sample of an entry:
>> {
>> "lemma":"челове́к",
>> "ipa":"t͡ɕɪlɐvʲˈek"
>> },
>>
>> This is a normal human word.
>> The is a stress mark on the last salable — ´, done with U+00B4 character.
>> The app offers searching by lemma capability.
>>
>> Problem:
>> Since the stress mark is a part of the word, the search does not return
>> proper matches unless the stress mark is entered. I can't expect users to
>> enter search strings with the stress mark. Thus the search only works
>> correctly limited to unstressed portions of the words.
>>
>> Question:
>> Any ideas how to pre-filter out the stress mark before searching? Do I
>> have to create some sort of regexed copy of my data without the stress mark
>> and match results back to the original entries? This sounds like a lot of
>> work. I looked at different filtering and masking solutions but none of
>> what I found seems to address this particular problem. I am pretty new to
>> AngularJS so simplicity gets extra points.
>>
>> Thanks in advance,
>> Andrei
>>
>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.