def get_orthographies(self, _library=library):
results = []<EOL>for charset in _library.charsets:<EOL><INDENT>if self._charsets:<EOL><INDENT>cn = getattr(charset, '<STR_LIT>', False)<EOL>abbr = getattr(charset, '<STR_LIT>', False)<EOL>nn = getattr(charset, '<STR_LIT>', False)<EOL>naive = getattr(charset, '<STR_LIT>', False)<EOL>if cn and cn.lower() in self._charsets:<EOL><INDENT>results.append(charset)<EOL><DEDENT>elif nn and nn.lower() in self._charsets:<EOL><INDENT>results.append(charset)<EOL><DEDENT>elif naive and naive.lower() in self._charsets:<EOL><INDENT>results.append(charset)<EOL><DEDENT>elif abbr and abbr.lower() in self._charsets:<EOL><INDENT>results.append(charset)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>results.append(charset)<EOL><DEDENT><DEDENT>for result in results:<EOL><INDENT>yield CharsetInfo(self, result)<EOL><DEDENT>
Returns list of CharsetInfo about supported orthographies