Viewing 1 post (of 1 total)
  • Author
    Posts
  • #22240
    Yang Yang
    Participant

    Sometimes one may want to change the current document’s encoding on-the-fly. For example, it may be useful to coerce a UTF-8 document into GB18030 just to see what weird characters will be shown with the current font.

    It seems that editor.ExecuteCommandByID(6656 + i); is not perfectly suitable for this purpose. Is there a general-purpose function like ReloadFileAs(encoding) or another way for the user to specify encoding values (e.g., 54936 for GB18030)? Thanks.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.