Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

setlocale, LC_TIME problem


Ronnan

Recommended Posts

My ISP has moved to Redhat 8.0 and suddenly my national settings are gone. Weekdays and months are in english and I want swedish. They confirm thet there is a sv folder and the locale.aliases contents is: sweden sv_SE.ISO-8859-1

 

I tried

setlocale(LC_TIME, 'sv_SE.ISO-8859-1');

setlocale(LC_TIME, 'sv_SE.ISO_8859-1');

setlocale(LC_TIME, 'sv_SE');

setlocale(LC_TIME, 'sweden');

setlocale(LC_TIME, 'sv');

setlocale(LC_TIME, 'se');

setlocale(LC_TIME, 'swedish');

and @setlocale but no luck

 

Is there anybody who got some program or codeto embedd to try out what the server settings are?

 

Thanks

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...