Sponsored Content
Top Forums Shell Programming and Scripting Copy and past html text use wrong character set - Firefox Post 303043153 by jcdole on Monday 20th of January 2020 06:09:03 AM
Old 01-20-2020
Copy and past html text use wrong character set - Firefox

Hello.

The source code is here : WMI query to find memory slot and installed memory on each slot

at post nbr 7


Looking at the text from firefox show nothing special.
Then I Copy the text to notepad and make some change and save to file.
Then I open the file in powershell and try to run it.
I got errors because quotes are partly english quotes and partly open/close french quote



Any help is welcome
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

which access right should set in my webpage index.html ?

I have a webpage, http://my.dns.com/~zp523/index.html, I want all people to have read and execute privileges. I want to extend it with execute privilege. Which command should be used in chmod? is it only give read(r) & execute(x) parameter in 'chmod ??? index.html' thk a lot!! (1 Reply)
Discussion started by: zp523444
1 Replies

2. UNIX for Dummies Questions & Answers

How do I get past an HTML::entities discrepancy on an RPM?

I have an RPM that I am trying to install and it keeps coming back with: I know I could kill the bird by throwing a "yum install *perl*" at it, but this seems like hurling a skyscraper at an ant... any better suggestions? (2 Replies)
Discussion started by: jjinno
2 Replies

3. UNIX for Dummies Questions & Answers

How do I extract text only from html file without HTML tag

I have a html file called myfile. If I simply put "cat myfile.html" in UNIX, it shows all the html tags like <a href=r/26><img src="http://www>. But I want to extract only text part. Same problem happens in "type" command in MS-DOS. I know you can do it by opening it in Internet Explorer,... (4 Replies)
Discussion started by: los111
4 Replies

4. UNIX for Dummies Questions & Answers

delete newline character between html tags

Hi, I have learned some of the Unix commands a way back and not sure of how to code them when needed in certain way, especially sed command. Here is my situation. I have an xml file with several tags. most of the tags start on the same line and end on the same line. However, data for some tags... (8 Replies)
Discussion started by: girish312
8 Replies

5. Web Development

Add HTML Based on Browser Width (Firefox)

Here is a bit of code I wrote that includes some HTML (table and image code) based on the width of the browser. It works in Firefox. I am not sure if it works for IE. (Need to test.) <script type="text/javascript"><!-- var winWidth = window.innerWidth; if (winWidth > 750) {... (0 Replies)
Discussion started by: Neo
0 Replies

6. Shell Programming and Scripting

Change Hex character strings to HTML entities

Hi! I am not a whiz at awk and very unsure about the aplication of awk solve my problem. I was hoping for some quick pointers so I can figure this out. I have a file that looks like so: label.Asked=\u8CEA\u554F\u6E08\u307F button.Edit=\u7DE8\u96C6... (3 Replies)
Discussion started by: pinnochio
3 Replies

7. Shell Programming and Scripting

read the text file and print the content character by character..

hello all i request you to give the solution for the following problem.. I want read the text file.and print the contents character by character..like if the text file contains google means..i want to print g go goo goog googl google like this Using unix Shell scripting... without using... (1 Reply)
Discussion started by: samupnl
1 Replies

8. Shell Programming and Scripting

copy html to file with lynx

hey huys, i'm extacting some data from a webpage. I used lynx -dump URL > temp.dat its working fine, but I need some data that is in the html code, so how could I store the whole html code of the URL in a file and exit like the above code. (2 Replies)
Discussion started by: Johanni
2 Replies

9. Shell Programming and Scripting

Parsing HTML, get text between 2 HTML tags

Hi there, I'm quite new to the forum and shell scripting. I want to filter out the "166.0 points". The results, that i found in google / the forum search didn't helped me :( <a href="/user/test" class="headitem menu" style="color:rgb(83,186,224);">test</a><a href="/points" class="headitem... (1 Reply)
Discussion started by: Mysthik
1 Replies

10. Web Development

How to copy a selected value of list box into a text box in html form?

hi, i have a list box , a text box and a button in a html form. list box displays some values, when a user selects a value from the list box and press the button. the selected value should be copied to the text box value. can any1 give me a html and javascript code to do this facility. ... (1 Reply)
Discussion started by: Little
1 Replies
QAssistantClient(3qt)													     QAssistantClient(3qt)

NAME
QAssistantClient - Means of using Qt Assistant as an application's help tool SYNOPSIS
#include <qassistantclient.h> Inherits QObject. Public Members QAssistantClient ( const QString & path, QObject * parent = 0, const char * name = 0 ) ~QAssistantClient () bool isOpen () const Public Slots virtual void openAssistant () virtual void closeAssistant () virtual void showPage ( const QString & page ) Signals void assistantOpened () void assistantClosed () void error ( const QString & msg ) Properties bool open - whether Qt Assistant is open (read only) DESCRIPTION
The QAssistantClient class provides a means of using Qt Assistant as an application's help tool. Using Qt Assistant is simple: Create a QAssistantClient instance, then call showPage() as often as necessary to show your help pages. When you call showPage(), Qt Assistant will be launched if it isn't already running. The QAssistantClient instance can open (openAssistant()) or close (closeAssistant()) Qt Assistant whenever required. If Qt Assistant is open, isOpen() returns TRUE. One QAssistantClient instance interacts with one Qt Assistant instance, so every time you call openAssistant(), showPage() or closeAssistant() they are applied to the particular Qt Assistant instance associated with the QAssistantClient. When you call openAssistant() the assistantOpened() signal is emitted. Similarly when closeAssistant() is called, assistantClosed() is emitted. In either case, if an error occurs, error() is emitted. This class is not included in the Qt library itself. To use it you must link against libqassistantclient.so (Unix) or qassistantclient.lib (Windows), which is built into INSTALL/lib if you built the Qt tools (INSTALL is the directory where Qt is installed). See also "Adding Documentation to Qt Assistant" in the Qt Assistant manual. MEMBER FUNCTION DOCUMENTATION
QAssistantClient::QAssistantClient ( const QString & path, QObject * parent = 0, const char * name = 0 ) Constructs an assistant client object. The path specifies the path to the Qt Assistant executable. If path is an empty string the system path (%PATH% or $PATH) is used. The assistant client object is a child of parent and is called name. QAssistantClient::~QAssistantClient () Destroys the assistant client object and frees up all allocated resources. void QAssistantClient::assistantClosed () [signal] This signal is emitted when the connection to Qt Assistant is closed. This happens when the user exits Qt Assistant, or when an error in the server or client occurs, or if closeAssistant() is called. void QAssistantClient::assistantOpened () [signal] This signal is emitted when Qt Assistant is open and the client-server communication is set up. void QAssistantClient::closeAssistant () [virtual slot] Use this function to close Qt Assistant. See also assistantClosed(). void QAssistantClient::error ( const QString & msg ) [signal] This signal is emitted if Qt Assistant cannot be started or if an error occurs during the initialisation of the connection between Qt Assistant and the calling application. The msg provides an explanation of the error. bool QAssistantClient::isOpen () const Returns TRUE if Qt Assistant is open; otherwise returns FALSE. See the "open" property for details. void QAssistantClient::openAssistant () [virtual slot] This function opens Qt Assistant and sets up the client-server communiction between the application and Qt Assistant. If it is already open, this function does nothing. If an error occurs, error() is emitted. See also assistantOpened(). void QAssistantClient::showPage ( const QString & page ) [virtual slot] Call this function to make Qt Assistant show a particular page. The page is a filename (e.g. myhelpfile.html). See "Adding Documentation to Qt Assistant" in the Qt Assistant manual for further information. If Qt Assistant hasn't been opened, this function will open it. Property Documentation bool open This property holds whether Qt Assistant is open. Get this property's value with isOpen(). SEE ALSO
http://doc.trolltech.com/qassistantclient.html http://www.trolltech.com/faq/tech.html COPYRIGHT
Copyright 1992-2001 Trolltech AS, http://www.trolltech.com. See the license file included in the distribution for a complete license statement. AUTHOR
Generated automatically from the source code. BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you. The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech. If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qassistantclient.3qt) and the Qt version (3.1.1). Trolltech AS 9 December 2002 QAssistantClient(3qt)
All times are GMT -4. The time now is 02:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy