Questions tagged [ansi]

ANSI stands for American National Standards Institute. Please do not use this tag, see the full tag wiki for alternatives.

American National Standards Institute

"The Institute oversees the creation, promulgation and use of thousands of norms and guidelines that directly impact businesses in nearly every sector: from acoustical devices to construction equipment, from dairy and livestock production to energy distribution, and many more. ANSI is also actively engaged in accrediting programs that assess conformance to standards – including globally-recognized cross-sector programs such as the ISO 9000 (quality) and ISO 14000 (environmental) management systems."

(Source: http://ansi.org/)


Instead of using this tag, please use:

  • for questions about the C language standard colloquially known as ANSI C
  • for questions about ANSI character encoding (which is actually obsolete, imprecise, and incorrect terminology; perhaps see the next item instead)
  • for questions about ANSI codepages (possibly with )
  • for questions about standard SQL
  • for questions about ANSI escape sequences and ANSI colors on terminals
  • for questions about the colors used in ANSI escape sequences
  • for questions about the program ANSICON
  • for questions about the datatype in Delphi
  • for questions about the ISO C++98 programming language standard
268 questions
0
votes
2 answers

Convert ANSI txt file into UTF8 (Visual FoxPro)

Good day I need help on converting a ANSI TXT file into UTF8 txt file. using Foxpro as programming language. or Xbase the thing is that i am creating and writing on the txt file using Foxpro, but i need to save the file as a UTF8 because it´s…
Edson Magaia
  • 11
  • 1
  • 1
  • 2
0
votes
0 answers

special characters in utf-8 text file

I've an input file which comes under ANSI UNIX file format. I convert that file into UTF-8. Before converting to UTF-8, there is an special character like this in input file » After converting to UTF-8, it becomes like this û When I process my…
0
votes
1 answer

Can I add a character of UTF-8 on a file encoded in ANSI?

I have a file of character encoding set to ANSI, however I can still copy a character of character set UTF-8. Are character sets defined on the file forced on the entire file? I am trying to understand how character sets works. Thanks
Atulya
  • 153
  • 1
  • 11
0
votes
1 answer

Why do ANSI and UNICODE make it difficult to read and write texts using streams?

I've learned that Reader and Writer in java are better for reading and writing information from text resource, and Reader/Writer are character-based while streams are byte-based. However I've come across a source that said "some texts are coded by…
Judi
  • 9
  • 1
0
votes
1 answer

How to set encoding for files with currency characters in Python?

I have ANSI encoded file which has currency characters and after I do some processing in python with content of that file I want to write it to another file, but in resulting file I have e.g. "\u00a3" instead of "£". I tried different combinations…
Curious
  • 154
  • 1
  • 8
0
votes
1 answer

Import an XMI file to a XML project Error : Invalid byte 1 of 1-byte utf-8 sequence

When I import my file XMI to my UML project (java project) I got a messege error org.xml.sax.SAXParseException : Invalid byte 1 of 1-byte utf-8 sequence. In my file I used ANSI before, I rewrite in the file XMI. I have no idea what's happened,…
Yiao SUN
  • 908
  • 1
  • 8
  • 26
0
votes
0 answers

Biztalk - convert from ANSI to UTF-8

How can I convert a x12 EDI file from ANSI to UTF-8 in a receive pipeline? So Before it's been dissasembled.
Tom V
  • 1
  • 1
0
votes
2 answers

How to get the character coding type of a json file?

I'm tying to get the character coding type of a json string from jsoncpp: UTF-8, ANSI or UNICODE? How to get character coding type of a json::value? Thanks advance!
XHLin
  • 301
  • 1
  • 3
  • 13
0
votes
1 answer

Offensive-security files content is unreadable with wget

I'm trying to download some URLs using wget. I get files with no problem except for this link Offensive-Security-ICQ and any other link on www.offensive-security.com. I tried on both Linux and Windows with many trials and alot of search, but in…
Dr. MAF
  • 1,853
  • 1
  • 27
  • 45
0
votes
1 answer

To convert a .INI file from UTF-8 encoding to ANSI during installation

I have a UTF-8 encoding .INI file, during the installation the users will write a name with symbols and codes that will be written to the .INI file, after finishing or during the installation it will be able to convert that UTF- 8 to ANSI? I can not…
0
votes
2 answers

Unicode and ANSI functions and parameters based on WinMain and wWinMain

Does anyone know when we need to use Unicode function rather than ANSI function when we use WinMain or wWinMain? Or can we use the normal generic function? And also with the usage of WinMain or wWinMain, will it affect the type of parameter used in…
Ihsan Haikal
  • 1,085
  • 4
  • 16
  • 42
0
votes
0 answers

Read Arabic file contents using string in c++

I have a text file (ansi encoding) that contains an arabic contents and I have read it using c++ as: ifstream ifs(file.GetFileName()); std::string content((std::istreambuf_iterator(ifs)), …
Bassam Najeeb
  • 607
  • 2
  • 7
  • 16
0
votes
1 answer

How to make C++ not to lose accents while assignment?

I have a program, that takes an .rtf file, reads it, and then creates a new .rtf file to write there some lines from the first document. The problem is that it loses non-ascii characters. The program gets a line from .rtf with fgetws(strBuff, ...),…
Fruling
  • 90
  • 1
  • 6
0
votes
1 answer

Pre-unicode compiled DLL gives access violations when calling from Delphi XE5

I have a DLL that was provided by a 3rd party company and when called from Delphi 2007, it worked perfectly fine. The following code is a sample of how the DLL was used in Delphi 2007: Procedure XC_eXpressLink(hHandle: Hwnd; Parameters: pChar;…
Ron Swingler
  • 49
  • 1
  • 5
0
votes
2 answers

How write data to a text file using ANSI format

Using ASP.net, how do you write ANSI characters to a text file? I need to write this file's text to the web browser. Do they support ANSI?
balaweblog
  • 14,982
  • 28
  • 73
  • 95