西班牙语字符显示不正确? [英] Spanish language chars are not displayed properly?

查看:130
本文介绍了西班牙语字符显示不正确?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用GWT.我实施了国际化以支持西班牙语.但是西班牙字符不能正确显示.例如:TeléfonoBuscar 显示为. (请在电话后查看一些垃圾字符).我正在使用IE浏览器.

I am using GWT. i implemented internationalization to support spanish language. but spanish chars are not displayed propertly. Ex: Teléfono Buscar is displayed as . (see some junk char after Tel). i am using IE browser.

我是否需要配置其他设置?谢谢!

Do i need to configure any further settings? Thanks!

推荐答案

我怀疑这可能是由于您的编辑器未使用UTF-8编码.

I suspect this may be due to the fact that your editor isn't using UTF-8 encoding.

如果使用的是Eclipse,则可以通过转到Window > Preferences > General > Content Types将其配置为对*.properties使用UTF-8.

If you're using Eclipse, you can configure it to use UTF-8 for *.properties by going to Window > Preferences > General > Content Types.

只需确保将Default encoding的值更改为UTF-8,如下所示.

Just make sure you change the Default encoding value to UTF-8 as shown below.

任何文本编辑器(包括vi)都会有一个类似的设置.

There will be a similar setting for any text editor, including vi.

这篇关于西班牙语字符显示不正确?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆