code: def write_utf8_html_file(file_name: str, html_content: str):
      with open(file_name, "w+", encoding="utf-8") as html_file:
          html_file.write(html_content)
  
file_path: pyecharts/pyecharts/render/engine.py
imports: import os
  from jinja2 import Environment
  from ..commons import utils
  from ..datasets import EXTRA, FILENAMES
  from ..globals import CurrentConfig, NotebookType
  from ..types import Any, Optional
  from .display import HTML, Javascript
label_desc: Use image node_id 1 for calling a global function with example usage: write_utf8_html_file(file_name, html_content) without return types