Skip to content

Instantly share code, notes, and snippets.

#include <locale.h>
#include <stdio.h>
int main ()
{
struct lconv * lc;
setlocale(LC_ALL, "de_DE.UTF-8");
lc = localeconv();
printf("Local Currency Symbol: %s\n",lc->currency_symbol);