Skip to main content

Questions tagged [content-encoding]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
56 views

What is this symbol (appears before line break)?

On Pixel 6 (Android) using the Chrome browser, there's this strange symbol I've never seen before that usually appears before some of the line breaks on my website. Does anyone have any idea what this ...
car10309's user avatar
0 votes
0 answers
638 views

Why does Pingdom Tools tell me to Compress components with gzip

On Pingdom Tools I get a message to Compress components with gzip. We use asp.net on Windows 2016 server (IIS10). I have set in web.config the following <httpCompression> <staticTypes&...
Bjørn Hellesylt's user avatar
3 votes
1 answer
428 views

Is it correct that I no longer need to escape Extended Latin characters in HTML when using UTF-8 encoding?

Some background first: 2003 - 2010 In 2003, I switched from HTML 4.01 to XHTML 1.0 and encoded my XHTML documents, using: <meta http-equiv="Content-Type" content="text/html; charset=ISO-...
Rounin's user avatar
  • 2,335
5 votes
4 answers
14k views

Can file encoding change when FTP is used?

I'm developing a web application which downloads a number of web pages using PHP curl. It then uses diff to compare the files as they change each day. I reported a problem a few weeks back where ...
Andy's user avatar
  • 247
8 votes
3 answers
3k views

Do characters encoded as HTML entities affect SEO?

We have a website made in asp.net with razor engine. The razor engine encodes the content from source/database. So, for example, the letter ö becomes &#246; if I look at the source code in the ...
f_karlsson's user avatar
1 vote
1 answer
65 views

Accept-Encoding: lzf - Browser compatibility list?

Per the title, I'm looking for a browser capability list for Accept-Encoding: lzf - I'd like to use lzf encoding but I'm not which browsers support it and couldn't find a list. Thanks in advance
Brandt Solovij's user avatar
3 votes
2 answers
288 views

What is the true filename on my server?

I have created a pdf under the name André.pdf on my server. However, I am not sure if this is the actual filename. I first assumed André.pdf is the actual filename because I can access it through ...
Adam's user avatar
  • 389
2 votes
1 answer
77 views

After change to new software stack, Chinese pages require setting encoding in browser

We changed to a new server with a completely upgraded software stack, including apache 2.4 and php 5.6.9. We have a page in Simplified Chinese. On our old server (apache 2.2, php 5.3.5), the pages ...
Jeffrey Simon's user avatar
0 votes
1 answer
848 views

Append encoding information to HTTP response headers

I have an old web application (not maintained anymore) of which a small part is still needed; this is displayed in iframes. Unfortunately, the old application uses ISO-8859-1 encoding (which it doesn'...
Tobias's user avatar
  • 165
1 vote
2 answers
117 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 ...
mowgli's user avatar
  • 321
2 votes
1 answer
4k 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" /> ...
Hoytman's user avatar
  • 459
1 vote
1 answer
167 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: inode/directory; ...
user2302838's user avatar
0 votes
3 answers
3k 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 UTF-...
Unknown's user avatar
  • 333
9 votes
4 answers
9k 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> &...
hakre's user avatar
  • 460
5 votes
3 answers
304 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. ...
Santosh Kumar's user avatar
4 votes
1 answer
3k 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 people)...
Yanick Rochon's user avatar
1 vote
2 answers
2k 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 ...
Ira Baxter's user avatar
2 votes
2 answers
733 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).
Oliver's user avatar
  • 123
1 vote
3 answers
603 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 ...
hen3ry's user avatar
  • 93
2 votes
2 answers
403 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 ...
TheTechGuy's user avatar
18 votes
1 answer
26k 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 ...
Alex's user avatar
  • 1,023
1 vote
1 answer
249 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 ...
user avatar
3 votes
2 answers
346 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 ...
Drachenzauberei's user avatar
4 votes
1 answer
979 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 ...
BerserkEVA's user avatar
13 votes
3 answers
3k 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 ...
Nick's user avatar
  • 255
8 votes
1 answer
1k 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.
Evan Plaice's user avatar
  • 1,788
9 votes
3 answers
371 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 ...
Oren Hizkiya's user avatar