2

I am building web application using bootstrap and angularjs. in html I have the meta tag:

<meta charset="utf-8">

the navbar items written in hebrew, and it's OK. when I write hebrew content in the conatiner div, it's also OK.

but when I write hebrew in the partials (which are displayed in the ng-view) I get question marks.

google didn't help.

any ideas?

Danield
  • 121,619
  • 37
  • 226
  • 255
HS1
  • 608
  • 2
  • 10
  • 28
  • 1
    its possible that the font you are using to doesn't support those characters. – serakfalcon Aug 11 '14 at 12:34
  • I tried to change font, but it didn't change much. the menu items (in hebrew) were changed, but the question marks in ng-view stayed. – HS1 Aug 11 '14 at 12:36
  • 1
    Can you post some of your code so we can take a look? Otherwise can't be sure... – MaineCoder Aug 11 '14 at 12:39
  • I haven't done anything special with the code. I have the meta tag: **** and I have the **
    ** if I remove the ng-view and write the content in hebrew it is OK. but If I have a partial (in a sepparate file) in hebrew then I have question marks
    – HS1 Aug 11 '14 at 12:43

1 Answers1

5

found a solution here

I needed to open the partial html files (that I got from angular seed) with notepad, and "save As" encoding = utf8

Community
  • 1
  • 1
HS1
  • 608
  • 2
  • 10
  • 28