Skip to content

DbxUserFilesRequests#searchV2 fails on Android when query contains > 2 Chinese characters #560

@pangzhaiwei

Description

@pangzhaiwei

Hey Dropbox Team,

I'm encountering some unexpected behavior when using the Java SDK's files/search_v2 method on the Android platform, specifically with Chinese filenames.

The DbxUserFilesRequests#searchV2(String query) call on Android fails when the query contains more than two Chinese characters. The search succeeds if the query has two or fewer Chinese characters.

Environment

  • SDK: com.dropbox.core:dropbox-core-sdk:7.0.0

  • SDK: com.dropbox.core:dropbox-android-sdk:7.0.0

  • Platform: Android

  • API: /files/search_v2

Could you please take a look at the query string processing and encoding logic for Chinese characters within the Android SDK?

Thank you for your time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions