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 9080267
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T20:02:30+00:00 2026-06-16T20:02:30+00:00

After generating some MySQL scripts I get some output tables that I arrange with

  • 0

After generating some MySQL scripts I get some output tables that I arrange with awk+printf in order to get everything perfectly aligned and beautifull.
But, when sent to anyone else, if the file is opened within Windows, Blackberry or Android, it looks awkfull and misaligned.

Is there any tipe of format (apart from pdf or images) that I can be sure everyone would read properly?
Present format is:

$ file sample.txt 
sample.txt: UTF-8 Unicode text

Thanks.

  • 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-16T20:02:31+00:00Added an answer on June 16, 2026 at 8:02 pm

    It’s sounds like you’re using a fixed-width font (like courier) that is typical to a terminal session and relying on it to line up you data nicely. And for those instances it works fine. Also if a user defaults their mail reader to use a fixed-width font.

    The problem is then you send your message to someone that uses a GUI tool (like outlook, or a web-mail client, or many others) that uses proportionally spaced characters, so an ‘1’ takes up less space than an ‘0’ (for example), and then you get something that is ugly.

    If this is for a corporate project and the range of supported mail readers is limited, you should be able to “wrap” your report in and specify a fixed-width font. Even in a corporate organization, this can still not be perfect AND if your user base is more general, then it gets more difficult to make sure everyone gets a perfectly formatted report. Maybe you need to add some qualifications like “best formatting presented when using xxx mail reader”.

    You can post to https://webmasters.stackexchange.com/ here and ask for advice on simple HTML formatting that has a high probability of a correct rendering.

    IHTH

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

Sidebar

Related Questions

I have five tables in MySQL which I am generating some reports from. I
I have some records after SQL generating: YEARS MONTHS SUMMONTH SUMQUARTER QTR ----- ------
I received reports that a my report generating application was not working. After my
After some time researching and trying different things I still cannot get my @ExceptionHandler
After some work with PHPExcel, I finally get it to generate sheets of 3000cells
I'm developing a page which generate some PDF files. After generating them, I want
After hearing that MD5 isn't safe for password storage (MySQL), I decided to use
My problem is MSVS 2010 C++ compiler is generating code in a way after
After a long search I'm still confused about it although I found some related
After generating a type dynamically and calling TypeBuilder.CreateType, I want to create a delegate

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.