漓江丽火

Results 81 comments of 漓江丽火

@wsargent it's said that there no doc for the file name's charset. I send a file part with a chinese file name and get a file name with messy code...

Just like httpclient's code ```java MultipartEntityBuilder.create.setMode(HttpMultipartMode.BROWSER_COMPATIBLE) ``` to avoid the utf-8 file name to post with messy code. But in play-ws I can just write ```scala FilePart("video_0", videoPath.getFileName.toString, Option("text/plain;charset=utf-8"), FileIO.fromPath(videoPath))...

@adrianmaurer All of the BaseTypedType can not to be Option[_], it's hard code in slick. Because can't read null data in all BaseTypedType. If you defined a Option BaseTypedType slick...

@uzquiano This helps for me. It works! Thanks a lot.

Will it remain support Nashorn ?

@cheerful-li @xqq load() 和 play() 那 2 句改成 ```js flvPlayer.load(); setTimeout(function() { flvPlayer.play(); }, 100); //100 改成 0 我试过也可以 ``` 可能是新版 chrome 的一些 load 的操作有异步成分,造成没有操作完毕就直接 play 了,而在 firefox 就没这种情况。

噢,补充一下,原因应该是 load 的时候运行了 pause() 然后又在几行代码这个级别的时间内运行了 play() 导致 chrome 直接报错,只要把 play() 改成异步使得这 2 个操作不是立刻连续发生就行了。@xqq 个人觉得应该有修复的空间。

@xqq 是否有必要修改文档来回避这个错误?

I can take on coding and write the documentation. But my english is bad and I can't surf some website. So I need someone to fix my documentation and help...

Now it seems that case class with type parameters should use ```scala given [T](using Encoder[T]): Encoder.AsObject[Foo[T]] = deriveEncoder given [T](using Decoder[T]): Decoder[Foo[T]] = deriveDecoder ``` in companion object. And case...