duandanbeng1829 2013-09-22 17:42
浏览 90
已采纳

为什么我不能在HTML上显示阿拉伯语言

I have a website and this is the meta in the head tag

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

but all arabic text shows like in the picture..

Unicode problem

but when I change the browser unicode to arabic it shows correctly, but I have to to it every refresh so it is not a solution at all.

  • 写回答

2条回答 默认 最新

  • duandan5471 2013-09-22 17:46
    关注

    For solve that problem, You only have to save all your PHP files in UTF-8 too...

    Check that! :P

    A only meta charset in UTf-8 doesn't works... Rembember it forever :P It happens to me every time.. :P

    If you use Sublime Text, you can save it like that:

    Save with UTf-8 Encoding

    if you not, I recommend you you to use sublime text: http://www.sublimetext.com/ it will give you some life years.. xD

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 关于#目标检测#的问题:大概就是类似后台自动检测某下架商品的库存,在他监测到该商品上架并且可以购买的瞬间点击立即购买下单
  • ¥15 神经网络怎么把隐含层变量融合到损失函数中?
  • ¥30 自适应 LMS 算法实现 FIR 最佳维纳滤波器matlab方案
  • ¥15 lingo18勾选global solver求解使用的算法
  • ¥15 全部备份安卓app数据包括密码,可以复制到另一手机上运行
  • ¥20 测距传感器数据手册i2c
  • ¥15 RPA正常跑,cmd输入cookies跑不出来
  • ¥15 求帮我调试一下freefem代码
  • ¥15 matlab代码解决,怎么运行
  • ¥15 R语言Rstudio突然无法启动