Questions tagged [plaintext]

Plain text refers to any string or sequence of characters that consists entirely of ASCII printable characters.

Plain text refers to any string or sequence of characters that consists entirely of ASCII printable characters (human-readable characters). The key attributes of a plain text are that the text that is not computationally tagged, specially formatted, or written in code.

496 questions
0
votes
2 answers

Using a plain text database in php

I am working on a small web application for a friend and am thinking about using a plain text file instead of MySQL, it just seems like a bit too much for the simplicity of this application. The application will basically let people put their name…
Alex
  • 671
  • 3
  • 11
  • 25
0
votes
1 answer

Saxon in Java: XSLT Code Reuse

As a continuation in my thought patterns from this question: Saxon in Java: XSLT for CSV to XML Per Michael Kay's answer on that question, I eventually ended up with the following code for applying an XSLT to a document: Processor processor = new…
Random Human
  • 946
  • 1
  • 14
  • 31
0
votes
1 answer

Cannot load a plain text file generated by a PHP - script using curl utility

I am sitting on a Mac OS X system and I cannot get around a simple problem from the domain of working with the command line: using the command curl http://mureakuha.com/dl.php?type=1&id=1234 I get no data from a (obviously) PHP script generating…
coderodde
  • 1,269
  • 4
  • 17
  • 34
0
votes
2 answers

HTML e-mail sent from outlook 2007 exchange server appears as plain text IPHONE

So, I have looked all over for a solution to this and found 2 dead unanswered threads. At our office we have a computer (PC-Windows XP) in "production" that sends an Email in HTML format. This e-mail contains several formatted excel Cells copied…
Sam
  • 1
  • 1
  • 2
0
votes
0 answers

how to automatically markup plaintext and preserve formatting

I am maintaining a growing (250 pages) plaintext document, that really needs to be a PDF technical document. Is there some automatic markup tool I can use that preserves my existing formatting, i.e. headings, subheadings, paragraphs, tables,…
Chris Cochran
  • 321
  • 2
  • 9
-1
votes
1 answer

determining size of bit block in c

I am implementing a primitive block cipher. However, the implementation is such that the size of the ciphertext may differ from the size of plaintext. I need to know how I can calculate the size of the ciphertext that is formed after encoding.…
sidharth sharma
  • 3,025
  • 6
  • 23
  • 20
-1
votes
1 answer

What is the output of the first round of AES

For AES with a 128 bit block length and a 128-bit key length, what is the output of the first round of AES if the plaintext consists of 128 0's and the first subkey also consists of 128 0’s?
user79793
  • 1
  • 2
-1
votes
2 answers

Convert from json to plain text, why can I not read from my json?

I am trying to convert a json file to txt: def json_to_plaintext(json_file): json_tmp = json.loads(json_file.read()) attr = str(json_tmp["meta"]) # collect attribute txt_file = open("json_attr.txt", "w+") attr = str(attr) # make…
zkalman
  • 17
  • 6
-1
votes
1 answer

JSON conversion results in error: ''str' object has no attribute 'read''

I'm testing a function that is supposed to convert a json to plain text. I've checked similar threads, but the most relevant I found was problems in their actual function. I am not at all comfortable with json, or Python for that matter, but my…
zkalman
  • 17
  • 6
-1
votes
1 answer

Decode a hex file that into plaintext English

I want to read a file that has hex. For example the file contains this "\x70\x79\x74\x68\x6f\x6e\x70\x79\x74\x68\x6f\x6e\x70\x79\x74\x68\x6f\x6e". I tried to read the file and print it but when I print it I see the same hex code and not the…
Jon Snow
  • 13
  • 3
-1
votes
1 answer

How do I read a random character from a plain text file

I do not know how to read a random character from a text file, and would like to learn how. This is what happened when I started messing around with python! I know I will be doing something like this later on in school so I am practising. Reading a…
Jeremy
  • 25
  • 4
-1
votes
1 answer

Why are references of environment variables with name 0, 1, 2, 3, ... not working as expected?

My batch file contains: @echo off :default_grid set "0=-" set "1=-" set "2=-" set "3=-" set "4=-" set "10=-" set "11=-" set "12=-" set "13=-" set "14=-" set "20=-" set "21=-" set "22=-" set "23=-" set "24=-" set "30=-" set "31=-" set "32=-" set…
-1
votes
1 answer