-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Labels
Description
The vmdk file header is like:
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"?
