This is similar to lower case, but is locale-insensitive and gives better results for case-insensitive comparisons. Synopsis: folded = unicode.to_fold_case(instring) This function handles accents, non-latin scripts, and the like. Inline effects Tutorial Furigana Tutorial Working with Subtitles. Synopsis: lower = unicode.to_lower_case(instring) In addition, they can be browsed directly within Aegisub at File Open Autosaved File Aegisub automatically cleans up old files in the autosave directory, so the automatic backups should not be used for long-term storage of files. Synopsis: upper = unicode.to_upper_case(instring) Read the first unicode codepoint from instring. Starting points Quick overview of Aegisub Common tasks: Timing a translated script to audio Basic typesetting of on-screen signs Putting your finished subtitles onto the. Documentation related to delopment of Aegisub and building Aegisub is located at the bug tracker. unicode.len #ĭetermine the length in code points of the given UTF-8 encoded string.īe aware that this function does not run in constant time, but in linear time (O(N)) proportional to the number of Unicode code points in instring. See our about page for more information on the program, or browse the topics on the left bar. This string may be more than one byte long. Returns an iterator function for looping over all code points in the given UTF-8 encoded string.įor each iteration of the loop, char will contain a string representing the next code point in the string. Synopsis: for char in unicode.chars(instring) do. Display dialog functions Synopsis: button, resulttable (dialog, buttons, buttonids) This function displays a configuration dialog to the user and waits for it to close. Karaoke inline-fx (inline effects) is a way of marking up timed karaoke to assign different effects to different parts of a line. The index parameter is optional abd defaults to 1 (one) when left out, meaning the width of the first character in instring will be returned. These functions are used to display dialogs for the user to interact with. The character pointed to is assumed to be a prefix byte (i.e. Returns the number of bytes occupied by the UTF-8 encoded code points starting at position index in instring. Synopsis: width = unicode.charwidth(instring, index=1) Import this module with unicode = require 'aegisub.unicode'. The unicode module for Automation 4 Lua contains various helper functions for working with UTF-8 encoded text.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |