Tagged Questions
0
votes
1answer
18 views
Character encoding Russian , Turkish [duplicate]
I got Russian character problem. I used utf8 ,windows-1251 but it seems like ?????? (русский). how can i solve this problem ?
<ul class="dropdown-menu">
...
0
votes
3answers
23 views
Difference between meta charset=“utf-8” and Notepad++ utf-8 encoding?
Do I need to do both of them, only set the notepad++ encoding or only do it in the meta tag?
-1
votes
2answers
51 views
Charset UTF-8 Question mark displaying as � [duplicate]
my question mark's are displaying as � and I can't figure out why can someone please explain to me why this is happening it would be very much appreciated, thanks in advanced!
PS: My header in PHP is ...
0
votes
1answer
35 views
request/response parameters are encoded by browser by default?
when i send the request to webserver, as per my understanding , browsers does not encode the request
paramtersfor example :- some value entered by user under textarea (be it post or get form ...
0
votes
1answer
21 views
Not getting request parameter value thru chrome/firefox. Related to double escaping?
Here is my link
"customer.action?custId=211&custAddressId=2341";
This url string is the output of c:out tag in jsp.
In Firefox/Chrome I am getting the value of custAddressId as null. ...
-1
votes
2answers
42 views
russian letters and how to make the page compatible with all languages [closed]
I am stuck in this encoding issue. i have a page which is supposed to be in 3 languages. russian, english and turkish. and in future also in german.
this is the page where i am developing. ...
0
votes
2answers
53 views
If HTML Populated dynamically, need to Encode Email Address Javascript?
So I have a pretty much bare HTML page, have an empty div tag that is populated when the window loads.
I've read that we should encode user emails to reduce spam. My page has the following HTML:
...
0
votes
1answer
54 views
remove non english word smarty
I am currently working with smarty 2.6. I get data from the database (I don't have access, I just fetch the data) as á in a string.
I need to change it to á in the .csv file that I am ...
-2
votes
1answer
54 views
UTF8 Characters not displayed correctly [duplicate]
In my mysql database i have string with german umlauts (ä, ö, ü).
I query them with php/mysql and when displayed on my website, they show up like this:
�
I have this html in my website:
<meta ...
1
vote
3answers
40 views
Avoiding accidental double htmlspecialchars encoding?
I'm currently tightening up security on my website and I'm trying to make sure every single value passed from PHP to HTML is encoded correctly.
Currently, assigning values to the template will encode ...
0
votes
1answer
67 views
C# encoding Shift-JIS vs. utf8 html agility pack
i have a problem. My goal is to save some Text from a (Japanese Shift-JS encoded)html into a utf8 encoded text file.
But i don't really know how to encode the text.. The HtmlNode object is encoded in ...
1
vote
3answers
43 views
Special Characters “>” not displaying by using UTF-8
Here are my codes below:
ul.pathnav a:before{
content:"\0X3E";
text-decoration:none;
}
\0x3e is the hex for ">", but it doesn't work.
I tried another special character, it works ...
0
votes
0answers
34 views
Webpage encoding utf-8
I am having massive problems and very confused of what to do?
My Mysql database Collation: latin1_swedish_ci
My header: meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
Before ...
1
vote
2answers
28 views
How to code the value of input[type=“submit”] that validates
Two questions
What is the best way to encode the rarer characters for form element values?
Is the semi-colon in the example below causing the validation error or is it something else?
HTML
...
1
vote
1answer
30 views
parsing xml attribute: strange Encoding issue
I get a strange encoding problem when I try to parse a certain attribute of an xml/html document.
Here a reproducible example , containing 2 items with 2 titles (note the use of french accent here)
...
2
votes
1answer
89 views
When to encode as HTML in Grails
I often see Grails sample code where the programmer has called a method called encodeAsHTML(). I figure I should probably use this in my Grails applications (for security reasons, I assume?), but I ...
0
votes
2answers
42 views
Multilingual site - character enconding
I know this problem is almost as old as a world and thousands of answers exists in the web, but I still cannot find what is a problem in my case and why characters shows as black question marks (�) :( ...
0
votes
1answer
79 views
How to fix encoding issue without rewriting the text again?
I face the following problem :
I have an .aspx page when i copy a gridview from page to another ,i encounter the following problem :
i have some arabic words like this :
رقم اذن الإضافة
It has ...
0
votes
2answers
206 views
How to replace non-Ascii characters from input with something else in JavaScript
I am implementing a chat-function to a JavaScript game using WebSocket. I want to replace non-ascii characters the user has written in the input textfield with other letters. Ä is replaced with a and ...
0
votes
3answers
103 views
stop encoding special characters in textarea on submit
I want to stop text area from encoding special characters.
If I input 1:2#aa^bb in text area then on submit it converts into 1%3A2%23aa%5Ebb.
I want the text to be submitted, as it is, without any ...
0
votes
1answer
36 views
Is the javascript encoding format inherited from the html document's format?
I am generating Javascript files for a project. The code is saved in JS text files using UTF8. This code may contain strings containing characters with accents. These strings may be displayed in ...
0
votes
0answers
28 views
utf-8 encoding in webworker
In a web application with <meta charset="utf-8"> I get the ID3 tags of mp3 files like this:
var reader = new FileReader();
reader.onload = function(onloadEvent) {
var mp3Data = new ...
1
vote
1answer
55 views
Is this how I should decode strings from server in JavaScript?
I'm receiving JSON data from an ASP.NET web service that has been HtmlEncoded with Microsoft's AntiXSS library (Encoder.HtmlEncode()) and then returned as JSON via a jQuery Ajax call.
I am populating ...
0
votes
0answers
51 views
How to get the Php result encoded to UTF-8?
I've looked around for a while and keep failing to get my website work with multiple languages (I'm trying to display in a drop down a list of languages that I have stored in my MySQL database).
...
0
votes
1answer
168 views
Write special characters using PHP POST method [duplicate]
I have a form and I'm using a PHP file to write its content to a text file. My problem is that whenever I try to write special characters (such as è é à á ä etc...) they are replaced by other strange ...
0
votes
2answers
64 views
Funny characters appearing in place of the quotes [duplicate]
Working with PHP and MySQL. When i save a string in the db, on retrieving it later on, it pulls out some funny characters instead of the double and single quotes in the original string. Some of those ...
1
vote
2answers
106 views
HTML generated with a double space tag after <body>
I use notepad++ and utf-8 encoding for writting php code. I faced an issue that my header is moved down. I founded that Firebug shows double space after <body>, so if I delete empty space, ...
0
votes
0answers
77 views
concerning RTF, the clipboard and olMailItem
This is actually one big blur of questions which came to mind on a certain issue.
What I'm actually trying to do is to add entries to our sharepoint server through outlook. The issue that I'm stuck ...
1
vote
2answers
196 views
Browser doesn't show Arabic fonts correctly
This is my herokuapp: https://majeddh.herokuapp.com; I'm using it to test the fonts right now.
This is my HTML code:
<?php echo 'majed'?><html>
<script ...
3
votes
2answers
110 views
arabic character viewing during runtime
I face the following problem :
when i copy a specific page to my new solution :
in run time i get this !!
although it 's like this in the design time :
my .aspx :
<meta ...
0
votes
2answers
62 views
Encoding HTML & Javascript
i'm building a site, and my ip needs to be in the javascript for a server.
But i want to hide this. I allready using ioncube for that, but when you press f12 example in google chrome, you see still ...
1
vote
2answers
118 views
can't show greek letters in browser
I am developing a website using html and css and i can't see greek letters.Instead of this,i only see symbols.
i have the following line in my html file:
<meta http-equiv="content-type" ...
2
votes
1answer
165 views
Greek characters encoding works in HTML but not in PHP
I have very strange issue which cant figure out.
i am using notepad++ and if i save a file as .php with Greek characters ( characters not from database ) it display Greek characters as question ...
0
votes
0answers
38 views
Characters get wrongly encoded when doing http post
I am sending a post http document to my server through an ajax call. When i send special characters such as æ,ø,å my form data seems to be sent as characters of the form: æ, ø, Ã¥ respectively.
I ...
0
votes
1answer
132 views
ÆØÅ shows as diamond question marks
I am almost sorry for asking this question, as I have plowed through most of the similar topics, and see how many people before me that have asked it. In short, here is my code, and it still shows ...
0
votes
2answers
173 views
Sending HTML string via POST to PHP. Get weird characters when ECHOing it out
So I am making a simple script where I send a HTML string via POST to PHP and when I try to echo it out it gets encoded with some weird characters
The string Im sending:
'Yo <i>whats ...
0
votes
1answer
56 views
Email encode in text input using [duplicate]
I want to encode an email id in a text box. An email id is saved in database. When page loads i retrieve email id from database using php and display in text input and when i see the email id in page ...
0
votes
2answers
70 views
Character encoding in php / html [closed]
The character encoding of the HTML document was not declared. I have read the relevant answers to this question, and followed the advice, but to no avail. The code has ben re-thought, re-written etc ...
1
vote
1answer
70 views
Why does Curl/Wget mess the encoding system of this web page?
For example, this page:
http://www.bilibili.tv/sitemap/sitemap-29.html
is encoded in utf-8. But when I use wget or curl to save it as a file, such as:
curl ...
0
votes
0answers
59 views
form fields charset into html and mysql
I have a form in HTML from which the fields are being processed with PHP, and finally they're being sent to a MySQL database.
I have set the HTML header charset like this:
<!DOCTYPE html PUBLIC ...
1
vote
2answers
282 views
html entities in a javascript alert?
I have a string coming from a XML (which I can't edit) and I'd like to print it trough an alert in javascript.
Example of my string:
This is à string
And I need to print in an alert:
...
0
votes
1answer
36 views
How to decode an escape charactere in html/php?
I have this char in an XML file : ™
When I parse the XML File in PHP and I store it in MySQL DB I get this char : '?'
I tried htmlentities() and html_entity_decode() but it's the same.
...
0
votes
2answers
47 views
Interrobang not displaying on mobile website
I am trying to display the Interrobang (‽) character on my website. It works on all desktop browsers, but does not display on my Android mobile phone. I have tried both the literal character ‽ and the ...
0
votes
0answers
88 views
Encoding issue while exporting to excel from a web application
I am trying to develop a web application which show product and its price(With price symbol like $ for price in dollar). Till this everything is fine. But when i try to export it to excel it give me ...
0
votes
0answers
144 views
HTML/Javascript: encode URL to GBK in UTF-8 page
I've got a UTF-8 charset page and I'd like to put there a correct GET request URL with non-latin characters to a GBK charset page.
For example, a link like http://baike.baidu.com/search/word?word=例子 ...
0
votes
4answers
147 views
Use currency symbol with HTML5 and JavaScript
I am writing a basic HTML5 with some JavaScript.
I am using the following doctype:
<!DOCTYPE html>
And I have set my UTF-8 encoding like do (in the head tag):
<meta ...
1
vote
2answers
87 views
Copy protection on a webpage : dashes
Here is a amazing webpage : Go there
Now, copy a part of the text, for instance, this block :
And now, paste-it on Notepadd++ (others editor seems not to work for that). Here is a screenshot of the ...
0
votes
0answers
69 views
How to implement speex.js?
i have obtained the speex codec from https://github.com/jpemartins/speex.js , i am not able to get it to work .
Can anyone give me a sample , simple html file that takes input , asks for output file ...
3
votes
2answers
68 views
How can I safely add user-supplied URLs to my HTML page?
As with any user supplied data, the URLs will need to be escaped and filtered appropriately to avoid all sorts of exploits. I want to be able to
Put user supplied URLs in href attributes. (Bonus ...
0
votes
1answer
75 views
Missing encoding in POST request headers
If I send a HTML page with UTF-8 encoding which contains a form, is it correct that the browser does not specify the encoding in the POST request header parameters?
I have tested it with the current ...