问题描述
我有一些西班牙文字块,例如
?Necesita agregar una impresora o copiadora adicional a su forma
personalizada de orden? Aquione。
不知道是否有向后的问号和重音的i。来了
通过,但我想知道是否有人知道我可以的网站
剪切并粘贴上面的内容它会吐回相应的html
代码(例如{)代表相应的Spanisn符号。
感谢您的任何建议, - Dave
Hi,
I have certain blocks of Spanish text, for example
?Necesita agregar una impresora o copiadora adicional a su forma
personalizada de orden? Presione aquí.
Don''t know if the backwards question mark and the accented "i" came
through, but I was wondering if anyone knew of a site where I could
cut and paste the above and it would spit back the corresponding html
codes (e.g. {) for the appropriate Spanisn symbols.
Thanks for any advice, - Dave
推荐答案
使用UTF-8,您可以在没有任何
字符引用的情况下编写所有这些字符。
Micha
With UTF-8 you could write all those chars literarily without any
character references.
Micha
我看到倒置的问号,但没有重音符号。
可以轻松编写,例如靠自己。一个用于输入的TEXTAREA,一个用于输出的TEXTAREA和一系列RegExps的TEXTAREA,用于第一个区域的
内容并写入第二个区域。 br />
DEMO:ake我的< URL:
quick.htm> ;;放?阙?在文本区域的F.X0,F.X1.value = F.X0.value.replace(/?/ g,
" {")中,按Eval,然后读取F.X1 。然后将F.X1
复制到textarea,按HTML,并观察它不是{你需要b $ b需要(它是')。 />
阅读新闻组clj及其FAQ是个好主意。见下文。
-
(c)约翰斯托克顿,英国伦敦。 [email protected] IE7 FF2 Op9 Sf3
news:comp.lang.javascript FAQ< URL:http://www.jibbering.com/faq/index.html>。
< URL:http://www.merlyn.demon.co.uk/js-index.htmjscr数学,日期,来源。
< URL:http ://www.merlyn.demon.co.uk/TP/BP/Delphi/jscr/& c,常见问题解答,链接。
I see the inverted question mark, but no accents.
One could easily be written, e.g. by yourself. A TEXTAREA for input, a
BUTTON, a TEXTAREA for output, and a series of RegExps, acting on the
content of the first area and writing to the second.
DEMO : ake a copy of my <URL:http://www.merlyn.demon.co.uk/js-
quick.htm>; put ?Que? in F.X0, F.X1.value = F.X0.value.replace(/?/g,
"{") in the textarea, press Eval, and read F.X1. Then copy F.X1
to the textarea, press HTML, and observe that it''s not { that you
need (it''s ¿).
It''s a good idea to read the newsgroup c.l.j and its FAQ. See below.
--
(c) John Stockton, nr London UK. [email protected] IE7 FF2 Op9 Sf3
news:comp.lang.javascript FAQ <URL:http://www.jibbering.com/faq/index.html>.
<URL:http://www.merlyn.demon.co.uk/js-index.htmjscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/TP/BP/Delphi/jscr/&c, FAQ items, links.
很少几年前我写了TEDU(免费软件)。试试吧。
-
捷克共和国的Petr Vileta
(我的服务器拒绝来自雅虎的所有消息和Hotmail。请从另一个非垃圾邮件发送者网站发给我你的
邮件。)
请回复< petr AT practisoft DOT cz>
Few years ago I wrote TEDU (freeware). Try it.
http://www.practisoft.cz/?download+en
--
Petr Vileta, Czech republic
(My server rejects all messages from Yahoo and Hotmail. Send me your
mail from another non-spammer site please.)
Please reply to <petr AT practisoft DOT cz>
这篇关于网站将西班牙语字符翻译成相应的htmlcodes?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!