开发者

Cufon differences on dev-server and published version

i made a webapplication with asp.net mvc 2 and used cufon to make some fonts "prettier"

when i view the website local with the development server in visual studio everything works fine and the fonts and all characters are shown correctly (some parts are in german so i have some special signs like äöü etc.) now i published the site to my server and that also works fine but now the special characters aren't shown in cufon transformed texts. also the texts are a little bit bigger on the published version than the local.

i checked if both js files a开发者_如何学JAVAre the same and they are.

any ideas where the problem is?


mmmh the characters problem seems to me an encoding problem. Maybe locally you use UTF and on the server there is a different encoding... what if you try to encode the special characters using the respective character entity reference? (see http://www.chami.com/tips/internet/050798i.html )

The fonts to be bigger, really strange. Are you sure that the CSS is exactly the same locally and server side? (Try to compare using Firebug).

Hope this helps...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜