heroboy

Results 36 comments of heroboy

If a table column type is varchar, it can correctly store '中文'( Do you think it is an unicode string data that can't be stored?)。For example, the sql is `select...

What I do `iconv.encode('中文', 'cp936')` is bacuse varchar.js doesn't correctly encode the string,I manualy do it. Not becuase it is a varbinary. So please understand Unicode, encoding, string, byte, char....

So please at least make the parameter value can be a buffer. It's simple to fix.

@arthurschreiber Yes I think use the sql server 's collation setting is correct. When I read tedious source code, I find there is a codepage parameter when parsing value, so...

@arthurschreiber No. I think what ever collation sql server is, it will produce incorrect output. But if you modify the `validate` function in my sample code, and want to make...

如果jsonrpc比较麻烦的话。我觉得在扩展内解析m3u8,然后生成下载ts文件的aria2的命令行(或bat)也可以。 1. 一种是生成一个文件列表,用一个固定的命令行来下载。 2. 还有一种可以生成一个巨大的命令行,带上所有下载的url。不知道这个可不可以。 生成的内容如果过于庞大,可以就放一个复制到剪贴板的按钮。 至于如何合并ts,那是另一个故事了。

就2点: 1. 必须在进入创建xhr这个时间点调用。你可以在相应位置设置断点,然后控制台执行代码能解密成功。但是如果过了这个代码段,执行同样的代码,就解密失败了。 2. beforeRequest和decryptURI必须按顺序调用。 ```js var backupBeforeRequest = videojs.Hls.xhr.beforeRequest; var done = false; let v = videojs('video-player'); v.on('loadedmetadata', function () { console.log('test:', 'loadedmetadata') videojs.Hls.xhr.beforeRequest = function () { backupBeforeRequest.apply(videojs.Hls.xhr,...

chrome code that inflecting the data: https://source.chromium.org/chromium/chromium/src/+/main:net/filter/gzip_source_stream.cc;l=134

But can we just add a flag, just like the `strictContentLength`.

I want restore the window size after undocking a window. https://github.com/ocornut/imgui/issues/2104