hebrew characters in aspnet with angular 2 - html

i just open a new project in angular 2 with asp.net and I have any issue when I write in Hebrew characters, it looks like it not support when I write any letter in hebrew
that's what I see
when I write this code
<h1>
בדיקה בדיקה
</h1>
photo of screen save

Try this solution which worked for me as suggested here
Open all your html, css, js (all client files that relevant to this
project) using notepad and save them with utf-8 encoding. Notice that
this might change the hebrew text and the content a little. After that
you should see hebrew.

I found a solution.
in visual studio code choose save as to any html file, then before you press on save button you have option (when you press on the arrow in save button) save with encoding and then change it to utf 8

Related

How can I add HTML code with notepad without installing an IDE

I am a starter in programming. One of my friends told me that I can start programing without installing any app and that I need only notepad to start learning HTML. The thing I can't find out is how I actually make it work. I inputted the code he gave me and I also made sure there where no typos, but then after I saved it I can not open it as a local file. I have only been able to open it as a text document so I can only see the code.
For this you have to save the file you are working on with the extension: .html. Then you have to open it with a browser, and you will see there the content of it
you can create a notepad and save it as name.html (not as .txt)
write the code inside it.
You can start with the notepad software. Unfortunately, this is not the best option. In fact, specialized software is recommended. Thanks to them, you will be able to write code faster thanks to the suggestions made by the software or to the very useful shortcuts! If you want to use this software, I recommend you one of the best on the market: Visual Studio Code.
If however you want to stay with notepad, you just have to click on "File" > "Save as" and to choose the type of file you want. In your case, it will be .html (Hypertext Markup Language)
You can create a file called [filename].html, and right click on it to open it in notepad. After Editing the file and adding your code to it, you can double click on it and it will open in your browser.
If you start enjoying to code, getting an IDE will make it much better. Visual Studio Code is recommended for this as it is user friendly and won't take up much storage space :)
code.visualstudio.com - Visual Studio Code
After saving the HTML code save it as filename.html, make sure that file extension is .html otherwise the filesystem will not recognized it.
Then right click on the file and open it with chrome or whatever browser you have and it will work, else open browser and drag it to browser and drop it, your html page will open in browser.

why does django include tag generate text in chrome

I use django include tag. Then I browse it in chrome, and I found layout of the web page is wrong. I use programmer tool and find some text generated by chrome at the position of django include tag.
The text is
" &#65279"
why does django include tag generate text in chrome. How I can fix it?
Encode your file with UTF8 without BOM in your editor.
I use notepad++ and save all the templates in UTF 8 and it fixed the problem for me.
In notepad++ go to Encoding -> UTF8 then save the file.

Previewing Code in Safari? [Mac Users]

Hi so I recently purchased a mac and I am trying to preview my code in safari and its not working my file is saved as .html and everytime I click the file it just shows me my top sites on safari can someone please help me!
I do not have the reputation to comment yet.
Put the file on your desktop and Get Info. Make sure in the name that the extension is .html and you can also try to check/uncheck Hide Extension and try that as well. Also double check to make sure you do not have any illegal characters in your file name.
Make sure you are not using Word or Pages. Use Text Wrangler or Sublime Text (well really any text editor that allows you to save as specific file types).
I use a Mac for all of my web coding and I have never had this issue.
Edit* If you are using an editor that allows you to choose between rich text and plain text make sure you use plain text. TextEdit is not a plain text editor either.
Load Chrome and then use its view > developer > view source menu option. Works well for me!

Table of content is not proper in chm file

i have chinese help .chm file, before extracting the chm file the table of contents are showing properly in chinese but when i used the keytool or microsoft html workshop to extract the chm file the hhc and hhk file contents showing some symbols not chinese words. I installed chinese language pack also but its not resolving. please help me to resolve
HTML Help v1.0 was released 1997. It is old and not Unicode enabled. So all project files (.hhp, .hhc, .hhk) and HTML topic files (.htm, .html) all need to be saved as ANSI. If the HTML is encoded as Unicode (UTF-8 or UTF-16 aka UNICODE) non-English chars wont be handed correctly in the HH navigation (TOC, Index, Search). The embedded browser (content area on right of the help viewer) will however display the topic text fine since this is a UNICODE enabled control.
To correctly compile and display say e.g. Japanese Help you will need to find a e.g. Japanese Windows PC, or change the PC Region settings to use Japanese.

Eclipse and .tml files highlighting not working

I'm using eclipse Juno EE IDE for Web Developers.
When I open .tml files, they don't show the correct highlighting and auto complete isn't working. I thought this looked just like it's opening it in a text editor. I right clicked the .tml file and clicked open with > HTML editor and I still don't get the correct highlighting.
This works perfectly on my PC at home, I am at work and it doesn't work properly. Please can someone give me a quick heads up on what setting is wrong? I've spent ages looking and trying different editors, but i'm sure it should just work in the html editor.
Thanks,
Edit: When I hover over the underlined closing html tag, it says "The word is not spelt correctly". It's like it's a text editor, only I did right click > open with html editor.
(If not using Tapestry Tools, as uklance mentioned)
Remember that in addition to editing Eclipse's File Association configuration in:
Window->Preferences->General->Editors->File Associations
you should add the *.tml extension in the Content Types configuration in:
Window->Preferences->General->Content Types
there you should chose html or xml and click add to add *.tml
Have you seen the Tapestry Tools eclipse plugin?
Or you can just add a file association for *.tml to the XML or HTML editors.
Another alternative is using the JSP editor and a custom tld