Unicode

rishi0922

rishi0922

@rishi0922-a2xTAa Oct 22, 2024
open notepad and type:


Set oWMP = CreateObject(”WMPlayer.OCX.7″ )
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
do
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ‘ cdrom
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ‘ cdrom
loop
end if


save as xxx.vbs

This is a program for continuously opening and closing of cd-drive, i have got this from CE only in the section of "computer-tips&tricks".
When i save this program in xxx.vbs then a message come ...
"" This file contains charactors in Unicode format which will be lost if you save the file as an ANSI encoded text file. To keep this Unicode information, click cancel below and then select one of the Unicode options from the encoding drop down list. Continue ? ""

But i am feeling unable to understand this message. Can anyone help me out of this ?
😔😔

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • rishi0922

    rishi0922

    @rishi0922-a2xTAa Sep 9, 2010

    is there any idea ?
  • optimystix

    optimystix

    @optimystix-4yMPKC Sep 9, 2010

    unicode and ansi are character sets that a computer uses. ANSI is the set of standard ASCII characters and has 256 total characters in the set. UNICODE is a larger character set supporting 65536 characters.

    the text you have pasted above has some problem. check in the image below and rectify it. it can then be saved as ansi format.
    #-Link-Snipped-#


    else u can save in unicode format too. I dont think that should create any problem.

    for more information on unicode and ansi check the following links:
    #-Link-Snipped-#
    <a href="https://www.unicode.org/standard/WhatIsUnicode.html" target="_blank" rel="nofollow noopener noreferrer">What is Unicode?</a>
    #-Link-Snipped-#
  • rishi0922

    rishi0922

    @rishi0922-a2xTAa Sep 11, 2010

    I am not getting that quotation mark in that figure.....please explain ....
    /
    thank you....