This video contains an integrated ad sponsored by Novexpert
***請留意測試片只供參考,每個人膚質唔同,追求嘅野亦都唔同。請按返個人需要去決定一件產品到底適唔適合自己!***
♡♡ 如果大家有興趣/有時間可以麻煩幫我加中文字幕嗎?
黎緊所有片都會徵中文字幕組,我中文又唔好,打得慢。有大家幫忙我就可以專心製片,post得密d!無限感激!如果有幫忙加字幕嘅記得留言話我知等我可以喺info box credit你!如果見到已有你想增加的字幕語言,便不用再加了!謝謝!
添加中文字幕: http://bit.ly/2egs2Tl
教學: http://bit.ly/2dAcCt4
♡♡
Instagram: http://instagram.com/bethniy
Facebook - http://facebook.com/bethniblog
VLOG Channel - http://www.youtube.com/bethnivlogs
Products Mentioned:
- S K I N C A R E -
Novexpert The Repulp Mask**
HK$290 / 50ml
Available in Mannings
Laura Mercier Crème Brûlée Soufflé Body Crème
http://bit.ly/2f4MffM
Living Proof Prime Style Extender*
http://bit.ly/2etiVU9
Olaplex Hair Perfector No. 3
Melvita Apicosma Creamy Cleansing Milk
Dyson Hair dryer
http://bit.ly/2eteKYp
MTM Custom-Blended Moisturizing Toner
Fresh Beauty Rose Eye Gel Cream
Novexpert Booster Serum with Hyaluronic Acid**
HK$490 / 30ml
Available in Mannings
Oskia Nutri-Active Day Cream
http://bit.ly/2etgdOk
around HK$600
Elizabeth Arden Eight Hour Cream Nourishing Lip Balm SPF 20
http://bit.ly/2etfuwG
Thann Oil-Free Facial Sunscreen SPF30 PA+++*
La Mer The Hand Treatment
http://bit.ly/2eteVTG
- M A K E U P -
Select Fairy One Day Con - Mode Brown
http://en.pinkicon.com/product-1126.html
Guerlain L'Or Pure Radiant Face Primer
http://bit.ly/2etfDQH
Giorgio Armani Luminous Silk Foundation #4 HK$480
http://bit.ly/2f4KgIx
NARS Radiant Creamy Concealer - Vanilla
http://bit.ly/2eePR2M
3CE Full Cover Concealer - #001
HK$158 (印象記得好似係)
Shiseido Eyebrow Styling Duo*
HK$280
Benefit Ready, Set, Brow! Brow Gel* HK$230
Urban Decay Eyeshadow Primer Potion - Anti-Aging HK$230
http://bit.ly/2dEWEQA
Urban Decay Naked 3 Eyeshadow Palette HK$500
http://bit.ly/2ethJjy
- Strange
- Limit
- Liar
- Dust
Shu Uemura Drawing Pencil - M Brown 01 HK$190
http://bit.ly/2etiuZJ
Media Lasting Eyeliner HK$63
Available at Sasa
MUFE HD Pressed Powder
HK$350
Rodial Contour Powder*
http://bit.ly/2f4Mmbk
Tarte Tarteist Blush Palette
Anastasia Beverly Hills Glow Kit Gleam - Crushed Pearl
MAC Prep & Prime Lip Primer
Dimensions de Chanel Mascara*
http://bit.ly/2f4WG2Z
Colourpop Lippie Pencil - Contempo
https://colourpop.com/products/contempo-pencil
Anastasia Beverly Hills Liquid Lipstick - Crushed
MAC Lipstick - Retro
- H A I R -
Enrapture Encode Totem Styler
https://www.amazon.co.uk/Enrapture-Encode-Totem-Hair-Styler/dp/B00ABKWLA6
- O U T F I T -
Dress - Zara
http://bit.ly/2fODckQ
Belt - Valentino
Boots - Stuart Weitzman Highland
http://bit.ly/2g6Y9tX
C A N D L E
Bath & Body Works 3-Wick Candle - Leaves
Business Inquiries Only:
info@bethni.com
♦ Music:
All tracks from Dyalla
https://soundcloud.com/dyallas
Could You
Beachside
I, Romeo
How You Feel
People Say
Only
Little Bit More
我的膚質:
混合偏乾
春夏 - t字位容易出油,其他位置乾
秋冬 - 整體皮膚都好乾,有時候會敏感
My Skin Type:
Spring/Summer - Dry - combination skin, t-zone gets oily but other areas remain dry.
Fall/Winter - Dry skin, sometimes sensitive.
DISCLOSURE
This video contains an integrated ad sponsored by Novexpert*
Click here to read my full disclaimer: http://goo.gl/DATgO6
![post-title](https://i.ytimg.com/vi/6QVtJHAgFUs/hqdefault.jpg)
html encode中文 在 [問題] python讀檔時不認得中文字? 的推薦與評價
第一次來這裡問問題,請各位板友指教!
其實我猜這大概不是python本身的問題...
環境:Windows 8.1 64-bit,非unicode編碼是繁中
Python 3.4.1 (Anaconda 2.1.0 64-bit)
文字檔編輯器試過notepad和notepad++,都有記得指定utf-8編碼
如果我在interpreter下面直接打
s = '中文測試'
這樣一切都很好,python 3直接認得unicode,我要 s[0] 它就給我 '中',等等。
但是如果我另外存一個 test.txt,內容一樣只有 中文測試 四個字,然後做
f = open('test.txt')
s = f.read()
只會吃到這個exception:
UnicodeDecodeError: 'cp950' codec can't decode byte 0xe6 in position 6:
illegal multibyte sequence
請大家開始隔空抓藥,謝謝!
--
你喜歡下列哪一個學妹?
1. 雖然吉他彈得比學姊好,在樂團裡卻甘願只當個副手
2. 擁有夏天一到必然黑化的體質,連同學好友都認不出來
3. 雖然嘴巴很嚴厲,但只要用甜點就可以收買,尤其喜歡鯛魚燒
4. 討厭學姊給她取的奇怪綽號,卻給小貓取了同一個名字
5. 極力維持自己嚴肅的形象,但是一戴上貓耳就會不自覺喵喵叫
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 123.110.141.102
※ 文章網址: https://www.ptt.cc/bbs/Python/M.1412756706.A.390.html
等下,我發現問題了...為什麼python會去用cp950(就是big5)解碼中文字?
然後我照樓上說的,
r = codecs.getreader('utf8')(f)
r.read()
照樣給我那個cp950不識字的exception。
※ 編輯: wohtp (123.110.141.102), 10/08/2014 16:52:16
f = open('test.txt', encoding = 'utf8')
這樣就好了。
書上說預設就是utf-8啊!跟說好的不一樣(大哭)(滾)
※ 編輯: wohtp (123.110.141.102), 10/08/2014 16:55:26
現在變成讀得進去顯示不出來:
s = f.read() 這個過去了
print(s) 同一個exception。為什麼這麼愛用cp950!
※ 編輯: wohtp (123.110.141.102), 10/08/2014 17:05:34
'\ufeff中文測試'
所以我終於懂了,一切還是源自Windows對big5病態的愛 orz
不能print()很麻煩耶,這樣要怎麼debug?
※ 編輯: wohtp (123.110.141.102), 10/08/2014 17:19:56
1. 至少在我這台win8機器上面,open()需要encoding = 'utf8'才能正常
讀取/輸入unicode
2. 不管是cmd.exe還是windows powershell,用print()顯示unicode的問
題千錯萬錯都是windows的錯 https://bugs.python.org/issue1602
3. 有workaround,我還沒試 https://github.com/Drekin/win-unicode-console
(我還不會在Anaconda上面裝東西呢 -_-)
※ 編輯: wohtp (123.110.141.102), 10/08/2014 19:01:42
notepad或notepad++的utf-8編碼文件:
open('filename', encoding = 'utf-8-sig') 這樣讀寫顯示都可以
notepad++的utf-8 without BOM文件:
open('filename', encoding = 'utf8') 一樣可以讀寫顯示
可是這BOM,果然千錯萬錯還是windows的錯!
※ 編輯: wohtp (123.110.141.102), 10/08/2014 20:18:42
※ 編輯: wohtp (123.110.141.102), 10/08/2014 20:19:20
... <看更多>