Charset, encoding of JSP file in eclipse still ISO-8859-1?

eclipse, encoding, file, jsp

Solution

I had the same problem but changed the settings here:

Preferences -> General -> Content Types -> 
Text -> JSP -> Default Encoding -> UTF-8

It worked for me. Hope it helps.

Problem

I manually changed the default encoding of a JSP file to UTF-8, but when I create a new file with template ${encoding}, the `charset` is always set to `ISO-8859-1`. How do I change eclipse's setting so that UTF-8 is the default charset for JSP files?

Original source

Related problems