0%

首先,Node内部是无法直接获取GBK编码“字符串”的,只不过使用到GBK的场景均有相应的应对方法。最初学习时,陷入了接口返回值必须是“字符串”的误区,然而想把GBK编码从Buffer强转为GBK中文String类型是做不到的。本篇借助了hex码,达成了字符串形式传输GBK数据的需要,用以发送给其他语言编写的系统。
Read more »

使用Hexo打造个人GitHub Pages的简要过程
Read more »

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment