Skip to content

Unsupported descriptor file encodings GBK and Big5 #10

@SuperGod

Description

@SuperGod

The vmdk file header is like:

image

I debug the libvmdk,and find the error is happen at line 977 in libvmdk\libvmdk_descriptor_file.c

                else if( libclocale_codepage_copy_from_string(
                          &( descriptor_file->encoding ),
                          value,
                          value_length,
                          LIBCLOCALE_CODEPAGE_FEATURE_FLAG_HAVE_WINDOWS,
                          error ) != 1 )
                {
                    libcerror_error_set(
                     error,
                     LIBCERROR_ERROR_DOMAIN_RUNTIME,
                     LIBCERROR_RUNTIME_ERROR_GET_FAILED,
                     "%s: unable to determine codepage value from string.",
                     function );

                    goto on_error;
                }

so maybe libclocale_codepage_copy_from_string not support code page string like "GBK"?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions