If I try to export sbdf to path that contains Japanese characters, the sb.export_data() function fails with error as below.
import pandas as pd
import numpy as np
import spotfire.sbdf as sb
df = pd.DataFrame(np.random.randint(0, 100, size=(5, 10)))
# print(df)
# sbdf_file = 'D:/tmp/test.sbdf'
sbdf_file = 'D:/tmp/データ.sbdf'
# sbdf_file = 'D:/tmp/テスト/test.sbdf'
sb.export_data(df, sbdf_file)
OSError Traceback (most recent call last)
Cell In[36], line 11
8 sbdf_file = 'D:/tmp/データ.sbdf'
9 # sbdf_file = 'D:/tmp/テスト/test.sbdf'
---> 11 sb.export_data(df, sbdf_file)
File d:\env\python\Lib\site-packages\spotfire\sbdf.pyx:1808, in spotfire.sbdf.export_data()
OSError: [Errno 42] Illegal byte sequence