Software Development Kit (SDK) and API Discussions

Value is empty for about 15 multibyte characters

nasabi

I am develop tool for ontap with python.

On the way, I tried to create a Qtree using multi-byte characters such as Japanese and Korean.
However, if an error occurs and the number of multibyte characters exceeds a certain number as long as guessed from the error content, it seems that NetApp can not recognize the character

 

: running code like below

    api = NaElement('qtree-create')
    api.child_add_string("volume", 'svm_vol1')
    api.child_add_string("oplocks", 'enabled')
    api.child_add_string("security-style", 'ntfs')
    api.child_add_string("qtree", 'あああああああああああああああ')
    o = s.invoke_elem(api)

 

: result

You cannot create qtree "".

- Usually it should be "You cannot create qtree "あああああああああああああああ"."

 

 

Do you know why this happens?

0 REPLIES 0
Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

Public