change encoding to utf8

This commit is contained in:
Philipp Crocoll
2024-12-10 11:47:51 +01:00
parent 9194436bc8
commit add8209f11
3 changed files with 6 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -234,7 +234,7 @@ namespace keepass2android
else
{
w = w.Replace("\\n", "<br />");
if ((w.StartsWith("*") || (w.StartsWith("<EFBFBD>"))))
if ((w.StartsWith("*") || (w.StartsWith(""))))
{
if (!inList)
{

View File

@@ -1,4 +1,4 @@
/*
/*
This file is part of Keepass2Android, Copyright 2013 Philipp Crocoll.
Keepass2Android is free software: you can redistribute it and/or modify
@@ -137,7 +137,7 @@ namespace keepass2android
Button btnLock = (Button) FindViewById(Resource.Id.QuickUnlock_buttonLock);
btnLock.Text = btnLock.Text.Replace("<EFBFBD>", "ss");
btnLock.Text = btnLock.Text.Replace("ß", "ss");
btnLock.Click += (object sender, EventArgs e) =>
{
App.Kp2a.Lock(false);

View File

@@ -1,4 +1,4 @@
/*
/*
This file is part of Keepass2Android, Copyright 2013 Philipp Crocoll. This file is based on Keepassdroid, Copyright Brian Pellin.
Keepass2Android is free software: you can redistribute it and/or modify
@@ -51,7 +51,7 @@ namespace keepass2android
private const String UnderlineChars = "_";
private const String SpaceChars = " ";
private const String SpecialChars = "!\"#$%&'*+,./:;=?@\\^`";
private const String ExtendedChars = "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>";
private const String ExtendedChars = "§©®¢°±¹²³¼½×÷«âéïñù¡¿»¦Ø";
private const String BracketChars = "[]{}()<>";
private readonly Context _cxt;