Page 2 of 2
Re: Mousehole - web server / browser hybrid
Posted: Mon Aug 20, 2018 5:19 pm
by Kwai chang caine
the.weavster wrote:It's the same error captain_skank had, you need to make sure you have saved the html as utf8

First i have save with Notepad in UTF-8 and that not works two
After i have do like captain_skank with Notepad++ and this time that works
It's strange because when i see the format in notepad, it say "ANSI"
The mainly, it's that works now, thanks for your help and sharing

Re: Mousehole - web server / browser hybrid
Posted: Mon Aug 20, 2018 11:42 pm
by the.weavster
Kwai chang caine wrote:After i have do like captain_skank with Notepad++ and this time that works
It's strange because when i see the format in notepad, it say "ANSI"
As index.html doesn't contain any special characters outside of the standard 256 utf8 and ANSI will be equivalent.
Re: Mousehole - web server / browser hybrid
Posted: Tue Aug 21, 2018 8:05 am
by #NULL
It's range 0..127 that has identical codepoints.
If Notepad maybe doesn't write a BOM you can try so save the file with PB editor, set File > File Format > Encoding: Utf8, and save. Should write a BOM even if the file is empty.
Re: Mousehole - web server / browser hybrid
Posted: Tue Aug 21, 2018 8:35 am
by Marc56us
In Notepad++ you can set encoding for new empty file, but also reset encoding of existing opened file when open
Setting > Preferences > New Document
ie: UTF-8 [ ] Apply to opened ANSI files

Re: Mousehole - web server / browser hybrid
Posted: Tue Aug 21, 2018 9:50 am
by the.weavster
#NULL wrote:It's range 0..127 that has identical codepoints.
Yes, sorry.
index.html doesn't contain any special characters outside the 127 so the main point still stands though.
Re: Mousehole - web server / browser hybrid
Posted: Tue Aug 21, 2018 4:07 pm
by Kwai chang caine
Thanks at all for this several tips and helps
the.weavster wrote:As index.html doesn't contain any special characters outside of the standard 256 utf8 and ANSI will be equivalent.
Ahhh ok, this is the reason, thanks for your explanation
#Null wrote:save the file with PB editor, set File > File Format > Encoding: Utf8, and save. Should write a BOM even if the file is empty.
I have not see the option of PB file format saving, when i think i have search a notepad++ then i have this option under my eyes
Thanks #Null
Marc56 wrote:Setting > Preferences > New Document
ie: UTF-8 [ ] Apply to opened ANSI files
I have searched how adjust the format, but notepad++ have so much menus
By chance, just saving fix my problem
But thanks for your help
