The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
31 views

Global UTF-encoding, the right way

I'm curious, as to what is the right way to have UTF-8 encoding on all web files All my files (incl. CSS and JS) are made and saved in UTF-8 encoding In PHP, I set the char-set on top of the main ...
1
vote
1answer
240 views

advantages and disadvantages of base64 image strings

I discovered that you can covert images into base64 strings and use those string within img tags and css like this: <img alt="" src="data:image/png;base64,iVBORw0KGgoAhEUgAAA ... FTkSuQmCC" /> ...
1
vote
1answer
82 views

Encoding fails whatever I try

I am trying to set my site's encoding to UTF-8 but I fail. Environment: Ubuntu Desktop 13.04, Apache 2.2, PHP+FPM. Added a .htacces: AddDefaultCharset UTF-8 Meta: file -bi * output: ...
0
votes
3answers
197 views

How UTF-8 represents more than 256 characters and when to use UTF-16?

We all know what character encoding is. Like the simple ASCII 7 bit used for normal 128 characters representing and UTF-8 for representing 256 characters. I have 2 questions: Some people saying ...
7
votes
3answers
2k views

How to tell the Browser the character encoding of a HTML website regardless of Server Content-Type Header?

I have a HTML page that correctly (the encoding of the physical on disk matches it) announces it's Content-Type: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> ...
5
votes
3answers
260 views

What encoding do most users prefer to have?

Is there any site, chart, or raw data that shows how much of user have used Unicode (UTF-8) or Western (ISO-8859-1) or Chinese and so. Or provide rough data of what is used in major number of sites. ...
3
votes
1answer
768 views

Apache show file index as utf-8

I'm on a shared hosting which runs Apache on a Windows server. I am running Linux and I have uploaded some files that should be accessible directly via a public URL (that is known only by a few ...
0
votes
2answers
1k views

Default encoding vs. content-type specified encoding

We have a website (www.semanticdesigns.com) that delivers a default encoding of ISO-8859-1. The pages are written in, guess what, ASCII mostly with some ISO-8859-1 characters. We have a few example ...
1
vote
1answer
137 views

PhpMyAdmin - Changing charset

How may I change the database/Tables/Attributes charset using PhpMyAdmin (No SQL statement, only hand-and-mouse actions) ? I only see the option for the Collation (inter-classement).
1
vote
3answers
357 views

CMS text encoding and common browser decoding; recent change?

I'm managing a CMS-based website. The primary language of the CMS is English. Our content is mostly in English, but user postings are sometimes in other languages. The supporting mySQL database of ...
2
votes
2answers
105 views

Should I store address in encrypted form?

What are the general rules relating to address fields and others. I only store password in encrypted form, the rest are not. Email is also used during login. Can someone give me a suggestion related ...
10
votes
1answer
13k views

Character set not specified in HTTP headers error

When testing this page with Page Speed, I get the a Specify a character set error: The following resources have no character set specified in their HTTP headers. Specifying a character set in HTTP ...
1
vote
1answer
224 views

Word docs opened/downloaded via IE cannot determine correct encoding when they contain embedd images

This problem only rears its ugly head when opening/receiving using a version of Internet Explorer. Firefox, Safari and Chrome all work perfectly. When a Word doc that contains embedded graphics (like ...
3
votes
2answers
257 views

Is using HTML entities (for language-specific characters) in UTF-8 necessary?

As in the subject-line. Saw the situation the other day on a page which felt weird to me. Except for markup-delimiting characters such as pointy brackets or the ampersand, escaping, say, German ...
3
votes
1answer
525 views

IIS XML encoding seems to be wrong

We are moving our web application from Apache 2.0 to IIS 7. Everyhing is fine with UTF-8 encoding, but just one thing. There's a flash movie in the page that reads an xml content (dynamically ...
10
votes
3answers
681 views

Why use HTML entities instead of just putting Unicode characters in HTML?

Let's say I want to put a non-bland character in an HTML file; for instance, '→'. Is there any reason why I should enter it as '&rarr;' instead of just putting '→' in the HTML file? Assume my HTML ...
7
votes
1answer
513 views

Why would I choose UTF-8 over ISO 8859-1 as the content encoding for my site?

Assume that the site is still in it's design phases so there's no initial work to pick one over the other from the start.
8
votes
3answers
258 views

Proper use of Content-Encoding

I've heard it suggested that using setting a page's Content-Encoding to zip or gzip will drive down load times and reduce bandwidth. Is this worth implementing for the average site or only sites with ...