OpenTweenのfork
Révision | 852dba27004c4ef5f2df5dfa62a4dd00d1956f02 (tree) |
---|---|
l'heure | 2012-05-07 23:05:52 |
Auteur | Kimura Youichi <kim.upsilon@bucy...> |
Commiter | Kimura Youichi |
ハートマーク <3 が文字化けして表示されてしまう問題を修正 (thanks @Lolitapple !)
@@ -4,6 +4,7 @@ | ||
4 | 4 | * FIX: 発言詳細部においてUnicodeで追加された一部の文字が正しく表示されない問題を修正 |
5 | 5 | * FIX: メッセージなどに含まれるアプリケーション名の変更漏れを修正 |
6 | 6 | * FIX: タスクバーから復元した際に最大化した状態が保持されない問題を修正 |
7 | + * FIX: ハートマーク <3 が文字化けして表示されてしまう問題を修正 (thanks @Lolitapple!) | |
7 | 8 | * CHG: ツイートに含まれるURLの判定をより厳格に変更 |
8 | 9 | |
9 | 10 | ==== Ver 1.0.1(2012/04/09) |
@@ -2174,7 +2174,7 @@ namespace OpenTween | ||
2174 | 2174 | post.TextFromApi = textFromApi; |
2175 | 2175 | post.TextFromApi = this.ReplaceTextFromApi(post.TextFromApi, entities); |
2176 | 2176 | post.TextFromApi = HttpUtility.HtmlDecode(post.TextFromApi); |
2177 | - post.TextFromApi = post.TextFromApi.Replace("<3", "?"); | |
2177 | + post.TextFromApi = post.TextFromApi.Replace("<3", "\u2661"); | |
2178 | 2178 | |
2179 | 2179 | //Source整形 |
2180 | 2180 | CreateSource(ref post); |
@@ -2847,7 +2847,7 @@ namespace OpenTween | ||
2847 | 2847 | //HTMLに整形 |
2848 | 2848 | post.Text = CreateHtmlAnchor(post.TextFromApi, post.ReplyToList, post.Media); |
2849 | 2849 | post.TextFromApi = HttpUtility.HtmlDecode(post.TextFromApi); |
2850 | - post.TextFromApi = post.TextFromApi.Replace("<3", "?"); | |
2850 | + post.TextFromApi = post.TextFromApi.Replace("<3", "\u2661"); | |
2851 | 2851 | post.IsFav = false; |
2852 | 2852 | |
2853 | 2853 | //以下、ユーザー情報 |
@@ -3122,7 +3122,7 @@ namespace OpenTween | ||
3122 | 3122 | post.TextFromApi = textFromApi; |
3123 | 3123 | post.TextFromApi = this.ReplaceTextFromApi(post.TextFromApi, entities); |
3124 | 3124 | post.TextFromApi = HttpUtility.HtmlDecode(post.TextFromApi); |
3125 | - post.TextFromApi = post.TextFromApi.Replace("<3", "?"); | |
3125 | + post.TextFromApi = post.TextFromApi.Replace("<3", "\u2661"); | |
3126 | 3126 | //Source整形 |
3127 | 3127 | CreateSource(ref post); |
3128 | 3128 |