<div>Hi,<br></div><div><br></div><div>Great to find an awesome geospatial library!<br></div><div><br></div><div>I could read the field names of a shapefile in Japanese characters by applying the following setting in Python 3 program.<br></div><div>os.environ['SHAPE_ENCODING'] = "Shift_JIS"<br></div><div><br></div><div>fieldname = in_feature.GetField('Name')<br></div><div><br></div><div>However, I could not write the fieldnames in Japanese characters.<br></div><div>I tried as follows:</div><div><br></div><div>out_layer.CreateField(ogr.FieldDefn('Name', ogr.OFTString))<br></div><div>out_feature = ogr.Feature(out_layer.GetLayerDefn())</div><div><br></div><div><b><span style="background-color:rgb(255, 255, 255)"><span style="color:rgb(237, 65, 57)">out_feature.SetField('Name', fieldname)</span></span></b></div><div>out_layer.CreateFeature(out_feature) <br></div><div><br></div><div>Japanese characters lost while reading the files wriiten with the above procedure.<br></div><div><br></div><div>I hope someone can assist me in this matter.<br></div><div>Thanks you.<br></div>