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

  • Home
  • SEARCH
  • 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 8625917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T07:53:36+00:00 2026-06-12T07:53:36+00:00

I have text file, how can I know the text in the file is

  • 0

I have text file, how can I know the text in the file is in UTF8 standard or Mac OS Roman

  • 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-06-12T07:53:37+00:00Added an answer on June 12, 2026 at 7:53 am

    For a single file, the practical move is to open it e.g. in a web browser and test, via the browser’s View menu, how it looks like in the two encodings. If the encoding matters (i.e., there are characters outside the Ascii range 0–127), you should normally see the difference at once (at least if you can read the language of the document).

    In programming, if you need to set up a general tool for resolving such questions automatically, it’s probably best to try to read the file (using your favorite programming language and tools) in the two encodings and check the success. If both ways give success, check out whether it can be read as Ascii too – if it can, the answer is trivial (the file is both UTF-8 and MacRoman encoded), and if not, you need some extra logic. In principle, inspection of the content is needed then, since the data can be interpreted both ways at the encoding level and only the content resolves which interpretation is correct.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a text file. How can I check whether it's empty or not?
I have a text file in the format of: aaa: bcd;bcd;bcddd;aaa:bcd;bcd;bcd; Where bcd can
Can anyone give me any pointers. I have a text file that contains dates
I have a blob saved in my database (a text file). I can retrieve
I have string like this: G:\Projects\TestApp\TestWeb\Files\Upload\file.jpg How can I remove all text before Files
I have a configuration file where a developer can specify a text color by
I have text file with some stuff that i would like to put into
I have text file with something like first line line nr 2 line three
I have Text file that contains data separated with a comma , . How
I have this PHP file: <?php header('Content-type: text/xml; charset=UTF-8'); ?><?xml version=1.0 encoding=UTF-8 ?> <Module>

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.