When I using $file = fopen($destination,'r');
to read file everything works correctly but if my file have cyrillic, greek etc. letters then the letters are like that Ονομάζομαι ÎŒÎ»Î¹Î²ÎµÏ ÎšÎ¿Ï…Î¯Î½. In Notepad++ you can do that by going Encoding-->Character Sets-->Greek-->Windows-1253
and then Encoding-->Convert to UTF-8 without BOM
. How I can do that in php?
设置字符集并转换为utf-8而不是bom
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
1条回答
相关推荐 更多相似问题
点击登录
提问题
悬赏问题
- ¥15 使用DWY100k数据集对UEA进行测试,出现报错:IndexError: index 125000 is out of bounds for axis 0 with size 95500
- ¥15 前端vue实现根据图片url生成pdf文件
- ¥15 RfidReader资源Q个
- ¥20 user-agent是否是唯一的,有没有可能相同
- ¥15 关于#开会#的问题,如何解决?(语言-c++)
- ¥15 关于#二十四点问题#的问题
- ¥15 运行kitex的demon出错(求大家解决)
- ¥15 开发一个类似 typora 这样的软件需要多少钱?
- ¥15 clearcase7.0安装包
- ¥15 断点回归模型月度核密度检验不连续