Skip to content

UTF-8 encoding for oci session authenticate when files in directory with non-ascii characters #1004

@bedla

Description

@bedla

Hi,
I found out that when I authenticate and my home dir containts non-ascii characters (my name), then text file is has malformed values.
Could you take a look?
Thank you
Ivos

home dir: c:\Users\IvoŠmíd
content of oci config file:

[DEFAULT]
fingerprint=xx:xx:44:68:94:d7:94:f0:f1:46:b6:79:5f:xx:xx:xx
key_file=C:\Users\IvoŠmíd\.oci\sessions\DEFAULT\oci_api_key.pem
tenancy=ocid1.tenancy.oc1..aaaaaaafoooooooooooooooobaaaaaaaaaaaaaaar
region=eu-frankfurt-1
security_token_file=C:\Users\IvoŠmíd\.oci\sessions\DEFAULT\token

When I open it in Notepad++ it says ANSI.
And values are malformed to

Image

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