
Register and join over 40,000 other developers!
Recent Topics
-
Print specific values from dictionary with a specific key name
Siten0308 - Jun 20 2019 01:43 PM
-
Learn algorithms and programming concepts
johnnylo - Apr 23 2019 07:49 AM
-
Job Gig PHP Form Needed
PJohnson - Apr 18 2019 03:55 AM
-
How to make code run differently depending on the platform it is running on?
xarzu - Apr 05 2019 09:17 AM
-
How do I set a breakpoint in an attached process in visual studio
xarzu - Apr 04 2019 11:47 AM
Recent Blog Entries
Recent Status Updates
Popular Tags
- networking
- Managed C++
- stream
- console
- database
- authentication
- Visual Basic 4 / 5 / 6
- session
- Connection
- asp.net
- import
- syntax
- hardware
- html5
- array
- mysql
- java
- php
- c++
- string
- C#
- html
- loop
- timer
- jquery
- ajax
- javascript
- programming
- android
- css
- assembly
- c
- form
- vb.net
- xml
- linked list
- login
- encryption
- pseudocode
- calculator
- sql
- python
- setup
- help
- game
- combobox
- binary
- hello world
- grid
- innerHTML

how to show diacritics in a html page from javascript file
Started by mariangurdegir, Jan 19 2012 07:57 AM
HTML
2 replies to this topic
#1
Posted 19 January 2012 - 07:57 AM
Hello. I am having some problems with something probably very easy...but it seems not for me. I have a JS file with the date (day, month, time) and in a webpage it shows that. Well, with normal characters for the english page, it works fine. For the turkish page, the diacritics are not showed. What and how do i have to do so i can see the diacritics from the javascript file in my webpage? Thanks and sorry if i'm being to stupid to ask this question

#2
Posted 19 January 2012 - 01:26 PM
This is the wrong place for your question; you are asking about Javascript, but this is the forum for Java. Please see the "Javascript and CSS" forum.
Latinamne loqueris?
#3
Posted 20 January 2012 - 12:00 PM
Note: I had moved the thread to the appropriate section.
You would probably want to set all web page headers to UTF-8, provided the JS file is saved in a UTF-like format.
Try adding this within the <head> section of your web page showing the JS:
Alexander.
You would probably want to set all web page headers to UTF-8, provided the JS file is saved in a UTF-like format.
Try adding this within the <head> section of your web page showing the JS:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />This should hint the browser to switch to a mode that can display more characters. If the diacritics are still question mark symbols or boxes, feel free to reply with a little more information.
Alexander.
All new problems require investigation, and so if errors are problems, try to learn as much as you can and report back.
Also tagged with one or more of these keywords: HTML
Language Forums →
HTML, CSS and Javascript →
Jquery .hasClass not returning true for a classnameStarted by Wackostylee, 13 Oct 2018 ![]() |
|
![]() |
||
General Forums →
General Programming →
JSON Array not displaying correct content on link clickStarted by Darian, 21 Feb 2017 ![]() |
|
![]() |
||
Language Forums →
Other Languages →
ASP, ASP.NET and Coldfusion →
ASP.NET Popup ControlStarted by dasswadesh, 18 Feb 2017 ![]() |
|
![]() |
||
Language Forums →
HTML, CSS and Javascript →
Which oftware to edit html,css best?Started by placestovisit, 13 Dec 2016 ![]() |
|
![]() |
||
Language Forums →
HTML, CSS and Javascript →
Best HTML EditorStarted by damosull, 11 Sep 2016 ![]() |
|
![]() |
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download