Sabeeh Ul Hussnain
Sabeeh Ul Hussnain
Thank you for pointing out this issue, It’s related to the Ktor OkHttp client. I’ll check if it’s already been reported; otherwise, I’ll open an issue on the Ktor tracker....
@jlengrand issue opened: [KTOR-8466](https://youtrack.jetbrains.com/issue/KTOR-8466) For now you can remove `ksoup-network` and use only `ksoup`, but perform the network request manually and pass the HTML to `Ksoup.parse`. You can also use...
@jlengrand fixed in v0.2.4
@vanniktech You can’t use multiple variants in a single project, as it will cause conflicts.
@vanniktech Actually, when I started developing it, I didn’t consider this and created a single global instance. When I created the variants, I continued using the single instance approach to...
@vanniktech, could you please let me know if you’re still facing this issue? I believe it has been fixed since version 0.2.1.
@vanniktech Can you please mention which variant you are using?
@vanniktech i tested with the following code it worked fine: ``` val doc = Ksoup.parseGetRequest("https://www.bodnara.co.kr/rss/rss_bodnara.xml") assertEquals("보드나라::전체기사", doc.selectFirst("title")?.text()) ``` and this also worked fine: ``` val httpResponse = NetworkHelperKtor.instance.get("https://www.bodnara.co.kr/rss/rss_bodnara.xml") val doc...
@vanniktech Yes, there is an issue with the EUC-KR charset in Android with Ktor 2, but it’s working fine with Ktor 3. I’m looking into whether I can fix it...
@vanniktech I’m trying to fix the issue; in the meantime, you can try this, it is working fine: ``` val httpResponse = NetworkHelperKtor.instance.get("https://www.bodnara.co.kr/rss/rss_bodnara.xml") val doc = Ksoup.parse( html = httpResponse.bodyAsText(),...