Created
May 1, 2012 10:09
-
-
Save stormcat24/2566998 to your computer and use it in GitHub Desktop.
eclipseのHTMLファイルで文字コード宣言をしないとShift-JISになってしまう問題の解決方法
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins/org.eclipse.wst.html.core_1.1.502.v201202091936.jar のplugin.xmlファイルを修正する。 | |
org.eclipse.core.contenttype.contentTypes部分を以下のように修正。le-extensionsからhtml, htmとかを除外する。 | |
<extension point="org.eclipse.core.contenttype.contentTypes"> | |
<content-type | |
file-extensions="htpl,wml" | |
priority="high" | |
name="%HTML_Content_Type_Extension_Element.name" | |
id="org.eclipse.wst.html.core.htmlsource" | |
base-type="org.eclipse.core.runtime.text"> | |
<!-- note: no default-charset for HTML, should use 'platform' --> | |
<describer | |
class="org.eclipse.wst.html.core.internal.contenttype.ContentDescriberForHTML" /> | |
</content-type> | |
</extension> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment