in addition to the Single UNIX Specification behavior of printing a slash for a directory, ls -p may display other characters for other file types.
Certain aspects of internationalized filename globbing are optional; see Internationalization and Filename Globbing>.