Comments (13)
@PoLaKoSz If you are viewing this in Sublime, you need to set the file encoding to UTF8.
from ff-password-exporter.
Thank You @E3V3A for the suggestion but it didn't work for me but You gave me a good hint.
This worked for me:
- Open with Sublime Text the
.json
or.csv
file - File > Save with Encoding > Western (ISO 8859-1)
- Reopen Sublime Text with the file
Updated my question with the solutions for .json
and .csv
files.
from ff-password-exporter.
Yes, so i am gonna close this issue.
from ff-password-exporter.
What if you change the encoding of the downloaded file to UTF8? What program are you opening the file with?
from ff-password-exporter.
Sorry I forgot to append the specs.
- Firefox Quantum
61.0.1
(64-bit) - FF Password Exporter Portable 1.0.1.exe
- opened
.json
withSublime Text 3.1.1 Build 3176
- opened
.csv
withMicrosoft Office 2007
I don't really find any options to set the encoding to UTF-8 in the FF-PE.
from ff-password-exporter.
I am not sure. It sounds like an encoding problem of some sort.
from ff-password-exporter.
I am not an expert in JavaScript nor encoding / decoding but maybe somewhere here cause something problems.
ff-password-exporter/src/renderer.js
Lines 154 to 155 in 7152f17
I found this table.
from ff-password-exporter.
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.
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.
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.
@E3V3A Converts to a UTF8 string to a byte array.
from ff-password-exporter.
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.
Does 149878a solve the problem?
from ff-password-exporter.
Related Issues (20)
- Exported date format to Excel (my soluce).
- Errot: not able to get key from profile directory HOT 2
- Seamonkey ? HOT 1
- Dev instructions in the readme fail: "missing script electron" HOT 1
- First 20 Username & Password Columns Are Unreadable HOT 1
- can't IMPORT password.csv HOT 1
- Exporting doesn't work (TypeError: str.charCodeAt is not a function) HOT 25
- Key3.db file not supported HOT 2
- error: TypeError: str.charCodeAt is not a function HOT 9
- master password incorrect -- but don't have master password set HOT 1
- No option to RESTORE passwords? HOT 1
- Empty window when running on Linux
- When I try to click export after typing in the correct master password it comes with an error message: TypeError: str.charCodeAt is not a function. Please help this is extremely frustrating, i just want to import to bitwarden lol
- TypeError: str.charCodeAt is not a function HOT 6
- 1.2 still doesn't work HOT 3
- No longer works. False error "Master password incorrect". HOT 7
- Application won't open running on Mac
- App doesn't work on MacOS Catalina 10.15 HOT 5
- You haven't updated for a long time, why?
- Empty window when running on macOS Sonoma 14.4 after Firefox 124.0 Update HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ff-password-exporter.