GithubHelp home page GithubHelp logo

Comments (13)

E3V3A avatar E3V3A commented on August 26, 2024 1

@PoLaKoSz If you are viewing this in Sublime, you need to set the file encoding to UTF8.

from ff-password-exporter.

PoLaKoSz avatar PoLaKoSz commented on August 26, 2024 1

Thank You @E3V3A for the suggestion but it didn't work for me but You gave me a good hint.

This worked for me:

  1. Open with Sublime Text the .json or .csv file
  2. File > Save with Encoding > Western (ISO 8859-1)
  3. Reopen Sublime Text with the file

Updated my question with the solutions for .json and .csv files.

from ff-password-exporter.

PoLaKoSz avatar PoLaKoSz commented on August 26, 2024 1

Yes, so i am gonna close this issue.

from ff-password-exporter.

kspearrin avatar kspearrin commented on August 26, 2024

What if you change the encoding of the downloaded file to UTF8? What program are you opening the file with?

from ff-password-exporter.

PoLaKoSz avatar PoLaKoSz commented on August 26, 2024

Sorry I forgot to append the specs.

  • Firefox Quantum 61.0.1 (64-bit)
  • FF Password Exporter Portable 1.0.1.exe
  • opened .json with Sublime Text 3.1.1 Build 3176
  • opened .csv with Microsoft Office 2007

I don't really find any options to set the encoding to UTF-8 in the FF-PE.

from ff-password-exporter.

kspearrin avatar kspearrin commented on August 26, 2024

I am not sure. It sounds like an encoding problem of some sort.

from ff-password-exporter.

PoLaKoSz avatar PoLaKoSz commented on August 26, 2024

I am not an expert in JavaScript nor encoding / decoding but maybe somewhere here cause something problems.

username: username.data,
password: password.data,

I found this table.

from ff-password-exporter.

cdelarge3 avatar cdelarge3 commented on August 26, 2024

It looks like Firefox may have changed something in how the usernames and passwords are stored (encrypted?). The websites are showing fine, but the username and password fields are trash. FF Quantum 61.0.1. Any thoughts?

from ff-password-exporter.

E3V3A avatar E3V3A commented on August 26, 2024

Although I am not running this app, I can only point out to have a deeper look at how your system is setup in regard to charcter coding. Including the fonts used in your Windows shells.

  • Look at the default encoding for your firefox
  • Look at the default encoding for your powershell
  • Look at the font used in your powershell (not all fonts support all characters
  • Look at the default character coding for your system
  Console Settings:
      Type              : ConsoleHost
      OutputEncoding    : Unicode (UTF-8)
      Color Capability  : 151
      Registry VT Level : 1
      CodePage (input)  : 437
      CodePage (output) : 437

You can get some of these with powershell:

(Get-Variable OutputEncoding).Value.EncodingName
(Get-ItemProperty -path "HKCU:\Console" -name ScreenColors).ScreenColors
(Get-ItemProperty -path "HKCU:\Console" -name VirtualTerminalLevel).VirtualTerminalLevel
[console]::OutputEncoding.CodePage
[console]::InputEncoding.CodePage
chcp.com

If you have WSL, you can also check with locale.

In general, avoid using anything else than UTF-8 for your OS wide font encoding, unless you are in a font specific language like Chinese, Japanese, Korean etc.

from ff-password-exporter.

E3V3A avatar E3V3A commented on August 26, 2024

PS. What does this do?

    function toArray(str) {
        const arr = new Uint8Array(str.length);
        for (let i = 0; i < str.length; i++) {
            arr[i] = str.charCodeAt(i);
        }
        return arr;
    }
  • IIRC UTF-8 characters consists of 4 bytes each...

from ff-password-exporter.

kspearrin avatar kspearrin commented on August 26, 2024

@E3V3A Converts to a UTF8 string to a byte array.

from ff-password-exporter.

PoLaKoSz avatar PoLaKoSz commented on August 26, 2024

Thank You @E3V3A for the information!

I am not realy familiar with PowerShell so I just copied Your script and this is what I got back:

PS C:\WINDOWS\system32> (Get-Variable OutputEncoding).Value.EncodingName
US-ASCII
PS C:\WINDOWS\system32> (Get-ItemProperty -path "HKCU:\Console" -name ScreenColors).ScreenColors
7
PS C:\WINDOWS\system32> (Get-ItemProperty -path "HKCU:\Console" -name VirtualTerminalLevel).VirtualTerminalLevel
Get-ItemProperty : Property VirtualTerminalLevel does not exist at path HKEY_CURRENT_USER\Console.
At line:1 char:2
+ (Get-ItemProperty -path "HKCU:\Console" -name VirtualTerminalLevel).V ...
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (VirtualTerminalLevel:String) [Get-ItemProperty], PSArgumentException
    + FullyQualifiedErrorId : System.Management.Automation.PSArgumentException,Microsoft.PowerShell.Commands.GetItemPr
   opertyCommand

PS C:\WINDOWS\system32> [console]::OutputEncoding.CodePage
437
PS C:\WINDOWS\system32> [console]::InputEncoding.CodePage
437
PS C:\WINDOWS\system32> chcp.com
Active code page: 437

from ff-password-exporter.

kspearrin avatar kspearrin commented on August 26, 2024

Does 149878a solve the problem?

from ff-password-exporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.