Skip to content

search-notion extension does not work in Japanese. #902

Closed

Description

@yoonchulkoh

Extension – search-notion

Author: @sadanand-singh

Description

Thank you for the very useful extension.

I mainly use it in Japanese, but it didn't work in Japanese.
I checked the code, and it seems to have an unnecessary encoding.

query: `${encodeURIComponent(q)}`,

For example, double quotation marks are escaped by node-fetch, so there is no need to escape anything else.

Steps To Reproduce

  1. Select 'Search Pages' in raycast.
  2. Input "アプリ" ← Japanese

The current behavior

This is Notion search.

This is search-notion extension.

The expected behavior

This has debugged.
Removed encodeURIComponent.

Raycast version

Version: 1.27.1

Activity

  1. added
    bug
    extension
    on Feb 14, 2022
  2. sadanand-singh commented on Feb 14, 2022

    @sadanand-singh
    Contributor

    Thanks for the issue @yoonchulkoh. Unfortunately, I have only used this extension for english and I have no experience of using Japanese. Would be happy to welcome any PRs that can fix this.

  3. yoonchulkoh commented on Feb 15, 2022

    @yoonchulkoh
    Author

    @sadanand-singh
    Thanks for the confirmation, I will try to create a PR.

  4. yoonchulkoh commented on Feb 17, 2022

    @yoonchulkoh
    Author

    duplicate #786

  5. added a commit that references this issue on Apr 23, 2024
  6. added a commit that references this issue on Apr 29, 2024
  7. added a commit that references this issue on Sep 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugextension

    Type

    No type

    Fields

    Priority

    None yet

    Severity

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions