jbe/bsw@0: --[[-- jbe/bsw@0: charset_data = -- table containing information about the current charset jbe/bsw@0: charset.get_data() jbe/bsw@0: jbe/bsw@0: Returns a table with information about the currently selected charset. See framework/env/charset/data/ for more information. jbe/bsw@0: jbe/bsw@0: --]]-- jbe/bsw@0: jbe/bsw@0: function charset.get_data() jbe/bsw@0: return charset.data[ jbe/bsw@0: string.gsub(string.lower(charset._current), "%-", "_") jbe/bsw@0: ] jbe/bsw@0: end