Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6124181
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:06:12+00:00 2026-05-23T16:06:12+00:00

I have one page and it’s encoding is UTF-8 and If i try to

  • 0

I have one page and it’s encoding is UTF-8 and If i try to run that code in unix system everythings looks fine but when i try to run in windows(7) some chracters looks question mark(�). How can run the code fine both of two system(without using iconv).

header('Content-Type: text/html; charset=UTF-8');
setlocale(LC_ALL, 'turkish');
echo strftime("%d %B %Y, %H:%M");
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T16:06:13+00:00Added an answer on May 23, 2026 at 4:06 pm

    For those who is having similar problems on linux (this may work also for windows but not sure).

    Yes there is ‘turkish’ but there is also ‘tr_TR.utf8’ . If you use ‘tr_TR.utf8’ most probably your problems will be washed away. Same thing applies also to ‘greek’. Instead use ‘el_GR.utf8’

    On linux you can check the locale list to find the proper settings for your site.

    locale -a
    

    List is too long and you can’t see all languages, so either you can just dump it into a file and then open the file to check.

    locale -a > locale.txt
    vi locale.txt
    

    or do locale -a | grep languagecode for a specific language

    locale -a | grep tr
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have one page encoded with utf-8 that is login another page also encoded
Many applications have grids that display data from a database table one page at
I have a page that has an iframe From one of the pages within
I have a struts2 application with a single page that may show one of
I have one page (Products) that searches for products which are then displayed in
I'm writing a PHP application that manages some LDAP entries. I have one page
I have a Rails site that uses Devise for authentication. I have one page
I have a one page website that has two seperate forms that need to
I have one page that will contain a lot data. Outline of the page
I have one aspx page with some controls. Also i have one DIV which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.