ascii或二进制 [英] ascii or binary

查看:74
本文介绍了ascii或二进制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我正在搜索本地文件是ascii还是二进制文件。

我找不到它手册,有没有办法知道呢?


谢谢,


-

greg

Hello,

I''m searching to know if a local file is ascii or binary.
I couldn''t find it in the manual, is there a way to know that ?

thanks,

--
greg

推荐答案



greg写道:

greg wrote:
你好,

我是'我试着知道本地文件是ascii还是二进制文件。
我在手册中找不到它,有没有办法知道这个?

谢谢,

-
greg
Hello,

I''m searching to know if a local file is ascii or binary.
I couldn''t find it in the manual, is there a way to know that ?

thanks,

--
greg




AFAIK取决于它是什么类型的文件。不确定,但ascii是

txt,csv,html等,二进制是图像,mp3等等。

纠正我,如果我错了。



AFAIK it depends on what kind of file it is. Not sure, but ascii are
txt, csv, html etc, binary are images, mp3''s etc.
Correct me if i''m wrong.




greg写道:

greg wrote:
你好,

我是搜索知道本地文件是ascii还是二进制文件。
我在手册中找不到它,有没有办法知道这个?

谢谢,

-
greg
Hello,

I''m searching to know if a local file is ascii or binary.
I couldn''t find it in the manual, is there a way to know that ?

thanks,

--
greg



< http://www.php.net/mb_detect_encoding>



<http://www.php.net/mb_detect_encoding>


>
< http://www.php.net/mb_detect_encoding>
<http://www.php.net/mb_detect_encoding>



原谅我的无知,但是你的意思是如果这个函数返回ascii,

它是ascii ...如果不是它的二进制文件?

我不是我一定得到你的小费。


-

greg


excuse my ignorance, but do you mean that if this function returns "ascii",
it''s ascii ... if not it''s binary ?
I''m not really sure to get your tip.

--
greg


这篇关于ascii或二进制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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