编码base 64文件上传文件之前 [英] encode base 64 file Before upload file
本文介绍了编码base 64文件上传文件之前的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
hi
i将代码文件whit base 64
在使用javascript发布文件之前
怎么办?
hi
i will code file whit base 64
Before post file with javascript
how can it?
推荐答案
它认为它没有任何意义。仅当您只能使用纯文本内容类型(例如电子邮件)时,才需要Base64编码。对于HTTP或FTP,没有这样的问题,为什么呢?
无论如何,您可以使用以下内容:
https://code.google.com/p/crypto-js/#Encoders [ ^ ],
或 http://ntt.cc/2008/01/19/base64-encoder-decoder-with-javascript.html [ ^ ]。
-SA
It don't think it can make any sense. Base64 encoding is only needed when you can use only text-only content types, in such cases as e-mail. For HTTP or FTP, there is no such problem, so why?
Anyway, you can use something like this:
https://code.google.com/p/crypto-js/#Encoders[^],
or http://ntt.cc/2008/01/19/base64-encoder-decoder-with-javascript.html[^].
—SA
这篇关于编码base 64文件上传文件之前的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文