简体   繁体   English

Dreamweaver CS6-如何将拉丁字符转换为相应的html代码?

[英]Dreamweaver CS6 - How to convert latin caracteres to the correspondent html code?

I'm using Dreamweaver CS6, and when I write a latin word ( Transição for example), I have problem with caracteres. 我使用的是Dreamweaver CS6,当我写拉丁语单词(例如Transição )时,我遇到了漫画人物问题。

My question is: Is there a way, via hotkey in Dreamweaver CS6 to select a text and convert this text to html text? 我的问题是:是否可以通过Dreamweaver CS6中的热键来选择文本并将此文本转换为html文本?

For example, I Select: 例如,我选择:

A transição foi concluída com sucesso.

press a hotkey and the selected text is converted to: 按热键,所选文本将转换为:

A transição foi concluída com sucesso.

Is it possible? 可能吗?

There is no built in function to do this in Dreamweaver. Dreamweaver中没有内置函数可以执行此操作。

Option 1 选项1

There is this plugin . 这个插件 You can select some text, and run this plugin from the "commands" menu. 您可以选择一些文本,然后从“命令”菜单运行此插件。

I know this works CS5 but I have not tested it in CS6. 我知道这可以在CS5中使用,但我尚未在CS6中对其进行测试。

Option 2 选项2

If you change this line in your HTML file: 如果您在HTML文件中更改此行:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

to this: 对此:

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />

Dreamweaver will know to convert the characters automatically. Dreamweaver将知道自动转换字符。

See this forum here . 在此查看此论坛

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM