docstr: Can write a simplified Chinese shapefile
docstr_tok: ["Can","write","a","simplified","Chinese","shapefile"]
code: def test_write_gb18030(self):
      """Can write a simplified Chinese shapefile"""
      schema = {
          "geometry": "Point",
          "properties": {"label": "str", "num": "int"},
      }
      with fiona.open(
          os.path.join(self.tempdir, "test-write-gb18030.shp"),
          "w",
          driver="ESRI Shapefile",
          schema=schema,
          encoding="gb18030",
      ) as c:
          c.writerecords(
              [
                  Feature.from_dict(
                      **{
                          "type": "Feature",
                          "geometry": {
                              "type": "Point",
                              "coordinates": [0, 0],
                          },
                          "properties": {"label": "徐汇区", "num": 0},
                      }
                  )
              ]
          )
  
      with fiona.open(
          os.path.join(self.tempdir), encoding="gb18030"
      ) as c:
          f = next(iter(c))
          assert f.properties["label"] == "徐汇区"
          assert f.properties["num"] == 0
  
imports: import os
  import shutil
  import sys
  import tempfile
  import unittest
  import pytest
  import fiona
  from fiona.errors import SchemaError
  from fiona.model import Feature
label_desc: Use image node_id 5 for calling the TestUnicodeStringField obj's underlying member method code with example usage: obj.test_write_gb18030() without return types