Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(fs/qingstor): Added gbk encoding support #335

Merged
merged 1 commit into from
Aug 2, 2024
Merged

feat(fs/qingstor): Added gbk encoding support #335

merged 1 commit into from
Aug 2, 2024

Conversation

abyss-w
Copy link
Collaborator

@abyss-w abyss-w commented Aug 2, 2024

Added gbk encoding support for fs/qingstor endpoint

  • qingstor destination
type: copy

source:
  type: fs
  path: /path/to/source
  options:
    enable_link_follow: false

destination:
  type: qingstor
  path: /path/to/destination
  options:
    protocol: https
    host: qsstor.com
    port: 443
    bucket_name: example_bucket
    access_key_id: example_access_key_id
    secret_access_key: example_secret_access_key
    decoding: true # Convert the file system encoding from gbk to utf-8
  • fs destination
type: copy

source:
 type: qingstor
  path: /path/to/destination
  options:
    protocol: https
    host: qsstor.com
    port: 443
    bucket_name: example_bucket
    access_key_id: example_access_key_id
    secret_access_key: example_secret_access_key

destination:
    type: fs
    path: /path/to/source
    options:
      enable_link_follow: false
      encoding: true # Convert qingstor utf-8 encoding to gbk
       

@abyss-w abyss-w merged commit a32bdfc into master Aug 2, 2024
6 checks passed
@abyss-w abyss-w deleted the gbk branch August 2, 2024 09:04
@abyss-w abyss-w mentioned this pull request Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant