Package elisa :: Package core :: Package utils :: Module locale_helper

Module locale_helper

source code

Locale helper functions

Functions
str
system_encoding()
Return the encoding used by the system.
source code
str
filesystem_encoding()
Return the encoding used by the file system.
source code
str
glib_file_encoding()
Return a guess of the encoding expected by the file manipulation functions of glib.
source code
str
gst_file_encoding()
Return a guess of the encoding expected by gstreamer for file names/paths/uris
source code
str
gdk_pixbuf_file_encoding()
Return the encoding expected by gdk_pixbuf functions for file paths.
source code
str
pgm_file_encoding()
Return the encoding expected by pigment functions for file paths.
source code

Imports: locale, platform, sys


Function Details

gdk_pixbuf_file_encoding()

source code 

Return the encoding expected by gdk_pixbuf functions for file paths. Please note you can also pass unicode objects to gdk_pixbuf.

Returns: str

pgm_file_encoding()

source code 

Return the encoding expected by pigment functions for file paths. Please note you can also pass unicode objects to pigment.

Returns: str